Skip to content

Commit

Permalink
Remove legacy z_bytes_from_str
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jun 28, 2024
1 parent 2668357 commit 646046a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/zenoh-pico/api/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -628,13 +628,6 @@ typedef struct {

void z_closure_zid_call(const z_owned_closure_zid_t *closure, const z_id_t *id);

/**
* Returns a view of `str` using `strlen` (this constructor should not be used on untrusted input).
*
* `str == NULL` will cause this to return `z_slice_null()`
*/
int8_t z_bytes_from_str(z_owned_slice_t *bytes, const char *str);

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 646046a

Please sign in to comment.