X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhwdriver.c;h=88e3532a00f22c0cd6c9887b066fcc42eee4afb5;hb=edec0436db2a73b545f5d4db0c1635d6c67ff45c;hp=a2d5316714c5865f9d034b8c246530e3bc02851c;hpb=78ec6cf99d14c42ff9f3922715e405414262a2e2;p=libsigrok.git diff --git a/src/hwdriver.c b/src/hwdriver.c index a2d53167..88e3532a 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -571,6 +571,12 @@ SR_PRIV void sr_hw_cleanup_all(const struct sr_context *ctx) * * A floating reference can be passed in for data. * + * @param key The config key to use. + * @param data The GVariant data to use. + * + * @return The newly allocated struct sr_config. This function is assumed + * to never fail. + * * @private */ SR_PRIV struct sr_config *sr_config_new(uint32_t key, GVariant *data)