diff --git a/include/zenoh_commons.h b/include/zenoh_commons.h index 95d971840..b8624bc9f 100644 --- a/include/zenoh_commons.h +++ b/include/zenoh_commons.h @@ -457,6 +457,7 @@ typedef struct ALIGN(8) z_owned_reply_t { * - `call` will never be called once `drop` has started. * - `drop` will only be called **once**, and **after every** `call` has ended. * - The two previous guarantees imply that `call` and `drop` are never called concurrently. + * tags{c.zc_reply_closure_t, api.get.callback} */ typedef struct z_owned_closure_reply_t { void *context; diff --git a/src/closures/reply_closure.rs b/src/closures/reply_closure.rs index 1aa8a9b44..5052bd0b9 100644 --- a/src/closures/reply_closure.rs +++ b/src/closures/reply_closure.rs @@ -15,6 +15,7 @@ use libc::c_void; /// - `drop` will only be called **once**, and **after every** `call` has ended. /// - The two previous guarantees imply that `call` and `drop` are never called concurrently. #[repr(C)] +/// tags{c.zc_reply_closure_t, api.get.callback} pub struct z_owned_closure_reply_t { context: *mut c_void, call: Option,