nautilus_common::ffi::clock

Function test_clock_advance_time

source
#[no_mangle]
pub unsafe extern "C" fn test_clock_advance_time(
    clock: &mut TestClock_API,
    to_time_ns: u64,
    set_time: u8,
) -> CVec
Expand description

ยงSafety

  • Assumes set_time is a correct uint8_t of either 0 or 1.