nautilus_common::ffi::timer

Function time_event_new

source
#[no_mangle]
pub unsafe extern "C" fn time_event_new(
    name_ptr: *const c_char,
    event_id: UUID4,
    ts_event: u64,
    ts_init: u64,
) -> TimeEvent
Expand description

ยงSafety

  • Assumes name_ptr is borrowed from a valid Python UTF-8 str.