Skip to content

Commit

Permalink
tags
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Mar 4, 2024
1 parent 198d6ab commit ee434dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/zenoh_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/closures/reply_closure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<extern "C" fn(&mut z_owned_reply_t, *mut c_void)>,
Expand Down

0 comments on commit ee434dd

Please sign in to comment.