Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Cargo.lock with Zenoh 60af274 from 2024-09-04 #639

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 31 additions & 37 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