diff --git a/apis/c/node/src/lib.rs b/apis/c/node/src/lib.rs index 0426ac48..fb881c77 100644 --- a/apis/c/node/src/lib.rs +++ b/apis/c/node/src/lib.rs @@ -197,6 +197,8 @@ pub unsafe extern "C" fn read_dora_input_data( /// Reads out the timestamp of the given input event from metadata. /// +/// ## Safety +/// /// Return `0` if the given event is not an input event. #[no_mangle] pub unsafe extern "C" fn read_dora_input_timestamp(event: *const ()) -> core::ffi::c_ulonglong {