Skip to content

Commit

Permalink
feat: set batching api as unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Nov 14, 2024
1 parent d639917 commit dbec411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/zenoh-pico/api/primitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -2060,7 +2060,7 @@ z_result_t z_declare_background_subscriber(const z_loaned_session_t *zs, const z
const z_loaned_keyexpr_t *z_subscriber_keyexpr(const z_loaned_subscriber_t *subscriber);
#endif

#if Z_FEATURE_BATCHING == 1
#if (Z_FEATURE_UNSTABLE_API == 1) && (Z_FEATURE_BATCHING == 1)
/**
* Activate the batching mechanism.
* Any message that would have been sent on the network by a subsequent api call (e.g z_put, z_get)
Expand Down
2 changes: 1 addition & 1 deletion src/api/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ const z_loaned_keyexpr_t *z_subscriber_keyexpr(const z_loaned_subscriber_t *sub)
}
#endif

#if Z_FEATURE_BATCHING == 1
#if (Z_FEATURE_UNSTABLE_API == 1) && (Z_FEATURE_BATCHING == 1)
z_result_t zp_batch_start(const z_loaned_session_t *zs) {
if (_Z_RC_IS_NULL(zs)) {
return _Z_ERR_SESSION_CLOSED;
Expand Down

0 comments on commit dbec411

Please sign in to comment.