Skip to content

Commit

Permalink
Fix z_sample_reliability docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Oct 2, 2024
1 parent b58415e commit 86d5311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/zenoh-pico/api/primitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*
Expand All @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 86d5311

Please sign in to comment.