Skip to main content

register_function

Function register_function 

Source
pub fn register_function<F>(f: F) -> u64
where F: Fn(UObjectHandle, *mut u8, *mut u8) + Send + Sync + 'static,
Expand description

Register a Rust function callback and return its unique callback ID.