Skip to content

Commit

Permalink
Merge pull request #658 from DenisBiryukov91/writer-docs
Browse files Browse the repository at this point in the history
update docs regarding undefined behavior when using multiple z_bytes_writers
  • Loading branch information
milyin authored Sep 13, 2024
2 parents c5106ac + c46be95 commit 0a62ea8
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 @@ -1055,6 +1055,7 @@ int64_t z_bytes_reader_tell(z_bytes_reader_t *reader);

/**
* Constructs writer for :c:type:`z_loaned_bytes_t`.
* Note: creating another writer while previous one is still in use is undefined behaviour.
*
* Parameters:
* bytes: Data container to write to.
Expand Down

0 comments on commit 0a62ea8

Please sign in to comment.