From ac65b0fc0984c351342586001f7aae18bb66b56b Mon Sep 17 00:00:00 2001 From: XxChang Date: Mon, 1 Jul 2024 23:55:21 +0800 Subject: [PATCH] minor --- apis/c/node/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) 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 {