diff --git a/apis/c/node/src/lib.rs b/apis/c/node/src/lib.rs index 8377aee6a..9d8762b0b 100644 --- a/apis/c/node/src/lib.rs +++ b/apis/c/node/src/lib.rs @@ -117,11 +117,14 @@ pub enum EventType { /// /// ## Safety /// -/// The `event` argument must be a dora event received through +/// - The `event` argument must be a dora event received through /// [`dora_next_event`]. The event must be still valid, i.e., not /// freed yet. The returned `out_ptr` must not be used after /// freeing the `event`, since it points directly into the event's /// memory. +/// +/// - Note: `Out_ptr` is not a null-terminated string. The length of the string +/// is given by `out_len`. #[no_mangle] pub unsafe extern "C" fn read_dora_input_id( event: *const (),