Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Oct 7, 2024
1 parent d5aeb51 commit 6a1a76a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/zenoh-pico/api/serialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static inline z_result_t ze_serializer_serialize_double(ze_loaned_serializer_t *
}

/**
* Writes a serialized boolean into underlying :c:type:`z_owned_bytes_t`.
* Writes a serialized 'bool' into underlying :c:type:`z_owned_bytes_t`.
*
* Parameters:
* serializer: A serializer instance.
Expand Down Expand Up @@ -347,7 +347,7 @@ static inline z_result_t ze_deserializer_deserialize_double(ze_deserializer_t *d
*
* Parameters:
* deserializer: A deserializer instance.
* dst: Pointer to an uninitialized boolean to contain the deserialized value.
* dst: Pointer to an uninitialized `bool` to contain the deserialized value.
*
* Return:
* ``0`` if deserialization successful, or a ``negative value`` otherwise.
Expand Down Expand Up @@ -688,7 +688,7 @@ z_result_t ze_serialize_float(z_owned_bytes_t *bytes, float val);
z_result_t ze_serialize_double(z_owned_bytes_t *bytes, double val);

/**
* Serializes a boolean into a :c:type:`z_owned_bytes_t`.
* Serializes a `bool` into a :c:type:`z_owned_bytes_t`.
*
* Parameters:
* bytes: An uninitialized :c:type:`z_owned_bytes_t` to contain the serialized int.
Expand Down Expand Up @@ -848,7 +848,7 @@ z_result_t ze_deserialize_double(const z_loaned_bytes_t *bytes, double *dst);
*
* Parameters:
* bytes: Pointer to a :c:type:`z_loaned_bytes_t` to deserialize.
* dst: Pointer to an uninitialized boolean to contain the deserialized value.
* dst: Pointer to an uninitialized `bool` to contain the deserialized value.
*
* Return:
* ``0`` if deserialization successful, or a ``negative value`` otherwise.
Expand Down

0 comments on commit 6a1a76a

Please sign in to comment.