From 0815ef308ac5efa5e32f09db322d776eafe6b45e Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Mon, 6 Jan 2025 16:14:52 +0100 Subject: [PATCH] feat: remove batch api from unstable --- include/zenoh-pico/api/primitives.h | 2 -- src/api/api.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/zenoh-pico/api/primitives.h b/include/zenoh-pico/api/primitives.h index af4d45c21..5fa001a46 100644 --- a/include/zenoh-pico/api/primitives.h +++ b/include/zenoh-pico/api/primitives.h @@ -2077,7 +2077,6 @@ 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 -#ifdef Z_FEATURE_UNSTABLE_API #if 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 @@ -2114,7 +2113,6 @@ z_result_t zp_batch_flush(const z_loaned_session_t *zs); */ z_result_t zp_batch_stop(const z_loaned_session_t *zs); #endif -#endif /************* Multi Thread Tasks helpers **************/ /** diff --git a/src/api/api.c b/src/api/api.c index 334ccfee2..f6a209ac9 100644 --- a/src/api/api.c +++ b/src/api/api.c @@ -1490,7 +1490,6 @@ const z_loaned_keyexpr_t *z_subscriber_keyexpr(const z_loaned_subscriber_t *sub) } #endif -#ifdef Z_FEATURE_UNSTABLE_API #if Z_FEATURE_BATCHING == 1 z_result_t zp_batch_start(const z_loaned_session_t *zs) { if (_Z_RC_IS_NULL(zs)) { @@ -1519,7 +1518,6 @@ z_result_t zp_batch_stop(const z_loaned_session_t *zs) { return _z_send_n_batch(session, Z_CONGESTION_CONTROL_DEFAULT); } #endif -#endif /**************** Tasks ****************/ void zp_task_read_options_default(zp_task_read_options_t *options) {