Skip to content

Commit

Permalink
Fix parameters order in z_declare_keyexpr/z_undeclare_keyexpr doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Oct 10, 2024
1 parent 9bf1203 commit d10642b
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 @@ -1914,8 +1914,8 @@ z_result_t z_keyexpr_from_substr_autocanonize(z_owned_keyexpr_t *keyexpr, const
* in the routing tables.
*
* Parameters:
* declared_keyexpr: Pointer to an uninitialized :c:type:`z_owned_keyexpr_t` to contain the declared keyexpr.
* zs: Pointer to a :c:type:`z_loaned_session_t` to declare the keyexpr through.
* declared_keyexpr: Pointer to an uninitialized :c:type:`z_owned_keyexpr_t` to contain the declared keyexpr.
* keyexpr: Pointer to a :c:type:`z_loaned_keyexpr_t` to bind the keyexpr with.
*
* Return:
Expand All @@ -1928,8 +1928,8 @@ z_result_t z_declare_keyexpr(const z_loaned_session_t *zs, z_owned_keyexpr_t *de
* Undeclares a keyexpr.
*
* Parameters:
* keyexpr: Moved :c:type:`z_owned_keyexpr_t` to undeclare.
* zs: Pointer to a :c:type:`z_loaned_session_t` to undeclare the data through.
* keyexpr: Moved :c:type:`z_owned_keyexpr_t` to undeclare.
*
* Return:
* ``0`` if undeclare is successful, ``negative value`` otherwise.
Expand Down

0 comments on commit d10642b

Please sign in to comment.