Skip to content

Commit

Permalink
build: Sync Cargo lockfile with Zenoh's
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-zenoh-bot committed Sep 4, 2024
1 parent 0082311 commit 415c05b
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 40 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions include/zenoh_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -2613,6 +2613,12 @@ ZENOHC_API enum z_whatami_t z_hello_whatami(const struct z_loaned_hello_t *this_
#if defined(UNSTABLE)
ZENOHC_API z_id_t z_hello_zid(const struct z_loaned_hello_t *this_);
#endif
/**
* Formats the `z_id_t` into 16-digit hex string (LSB-first order)
*/
#if defined(UNSTABLE)
ZENOHC_API void z_id_to_string(const z_id_t *zid, struct z_owned_string_t *dst);
#endif
/**
* Fetches the Zenoh IDs of all connected peers.
*
Expand Down
26 changes: 13 additions & 13 deletions include/zenoh_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -657,43 +657,43 @@ inline void z_call(const z_loaned_closure_sample_t* closure, const z_loaned_samp
z_closure_sample_call(closure, sample);
};

extern "C" typedef void (*z_closure_drop_callback_t)(void*);
extern "C" using z_closure_drop_callback_t = void(void*);

extern "C" typedef void (*z_closure_hello_callback_t)(const z_loaned_hello_t*, void*);
extern "C" using z_closure_hello_callback_t = void(const z_loaned_hello_t*, void*);
inline void z_closure(
z_owned_closure_hello_t* closure,
z_closure_hello_callback_t call,
z_closure_drop_callback_t drop,
z_closure_hello_callback_t* call,
z_closure_drop_callback_t* drop,
void *context) {
closure->context = context;
closure->drop = drop;
closure->call = call;
};
extern "C" typedef void (*z_closure_query_callback_t)(const z_loaned_query_t*, void*);
extern "C" using z_closure_query_callback_t = void(const z_loaned_query_t*, void*);
inline void z_closure(
z_owned_closure_query_t* closure,
z_closure_query_callback_t call,
z_closure_drop_callback_t drop,
z_closure_query_callback_t* call,
z_closure_drop_callback_t* drop,
void *context) {
closure->context = context;
closure->drop = drop;
closure->call = call;
};
extern "C" typedef void (*z_closure_reply_callback_t)(const z_loaned_reply_t*, void*);
extern "C" using z_closure_reply_callback_t = void(const z_loaned_reply_t*, void*);
inline void z_closure(
z_owned_closure_reply_t* closure,
z_closure_reply_callback_t call,
z_closure_drop_callback_t drop,
z_closure_reply_callback_t* call,
z_closure_drop_callback_t* drop,
void *context) {
closure->context = context;
closure->drop = drop;
closure->call = call;
};
extern "C" typedef void (*z_closure_sample_callback_t)(const z_loaned_sample_t*, void*);
extern "C" using z_closure_sample_callback_t = void(const z_loaned_sample_t*, void*);
inline void z_closure(
z_owned_closure_sample_t* closure,
z_closure_sample_callback_t call,
z_closure_drop_callback_t drop,
z_closure_sample_callback_t* call,
z_closure_drop_callback_t* drop,
void *context) {
closure->context = context;
closure->drop = drop;
Expand Down

0 comments on commit 415c05b

Please sign in to comment.