Skip to main content

HostCall

Type Alias HostCall 

Source
pub type HostCall = unsafe extern "C" fn(ctx: *mut c_void, method: WnStr, request: WnStr, out: *mut WnBuf) -> i32;
Expand description

Calls a host method: method name, request JSON; fills out; returns CALL_OK or CALL_ERROR.