diff --git a/include/zenoh-pico/api/primitives.h b/include/zenoh-pico/api/primitives.h index 6ff5c4b63..8daea5659 100644 --- a/include/zenoh-pico/api/primitives.h +++ b/include/zenoh-pico/api/primitives.h @@ -1404,6 +1404,7 @@ const z_loaned_encoding_t *z_sample_encoding(const z_loaned_sample_t *sample); */ z_sample_kind_t z_sample_kind(const z_loaned_sample_t *sample); +#ifdef Z_FEATURE_UNSTABLE_API /** * Gets the reliability a sample was received with (unstable). * @@ -1413,7 +1414,6 @@ z_sample_kind_t z_sample_kind(const z_loaned_sample_t *sample); * Return: * The reliability wrapped as a :c:type:`z_reliability_t`. */ -#ifdef Z_FEATURE_UNSTABLE_API z_reliability_t z_sample_reliability(const z_loaned_sample_t *sample); #endif @@ -2124,13 +2124,13 @@ void z_scout_options_default(z_scout_options_t *options); */ z_result_t zp_send_join(const z_loaned_session_t *zs, const zp_send_join_options_t *options); +#ifdef Z_FEATURE_UNSTABLE_API /** * Gets the default reliability value (unstable). * * Return: * The reliability wrapped as a :c:type:`z_reliability_t`. */ -#ifdef Z_FEATURE_UNSTABLE_API z_reliability_t z_reliability_default(void); #endif