#[no_mangle]
pub unsafe extern "C" fn test_clock_register_default_handler(
clock: &mut TestClock_API,
callback_ptr: *mut PyObject,
)
Expand description
ยงSafety
- Assumes
callback_ptr
is a validPyCallable
pointer.
#[no_mangle]
pub unsafe extern "C" fn test_clock_register_default_handler(
clock: &mut TestClock_API,
callback_ptr: *mut PyObject,
)
callback_ptr
is a valid PyCallable
pointer.