pub type HostCall = unsafe extern "C" fn(ctx: *mut c_void, method: WnStr, request: WnStr, out: *mut WnBuf) -> i32;
Calls a host method: method name, request JSON; fills out; returns CALL_OK or CALL_ERROR.
method
request
out
CALL_OK
CALL_ERROR