Skip to content

Commit

Permalink
update docs regarding undefined behavior when using multiple z_bytes_…
Browse files Browse the repository at this point in the history
…writers
  • Loading branch information
DenisBiryukov91 committed Sep 13, 2024
1 parent 25c25f6 commit 91d36ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/zenoh-pico/api/primitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ int64_t z_bytes_reader_tell(z_bytes_reader_t *reader);
/**
* Constructs writer for :c:type:`z_loaned_bytes_t`.
*
* Note: reating another writer while previous one is still in use is undefined behaviour.
* Parameters:
* bytes: Data container to write to.
* writer: Uninitialized memory location where writer is to be constructed.
Expand Down

0 comments on commit 91d36ee

Please sign in to comment.