X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=backend.c;h=cd1d1db2b06a878191b320d2f920be334c4066f7;hb=609bfd753c4a813791a6f678f545940c6d331c20;hp=eeaea2451c9ca8b15ddb5c415b361c841bfa4ab3;hpb=218e629fa48e2efb970b018d8d2ff8ccfa2d9a2c;p=libsigrok.git diff --git a/backend.c b/backend.c index eeaea245..cd1d1db2 100644 --- a/backend.c +++ b/backend.c @@ -319,6 +319,8 @@ static int sanity_check_all_output_modules(void) * the 'ctx' pointer is undefined and should not be used. Upon success, * the context will be free'd by sr_exit() as part of the libsigrok * shutdown. + * + * @since 0.1.0 (but the API changed in 0.2.0) */ SR_API int sr_init(struct sr_context **ctx) { @@ -378,6 +380,8 @@ done: * @param ctx Pointer to a libsigrok context struct. Must not be NULL. * * @return SR_OK upon success, a (negative) error code otherwise. + * + * @since 0.1.0 (but the API changed in 0.2.0) */ SR_API int sr_exit(struct sr_context *ctx) {