Function extism::sdk::extism_plugin_call_with_host_context
source ยท #[no_mangle]
pub unsafe extern "C" fn extism_plugin_call_with_host_context(
plugin: *mut Plugin,
func_name: *const c_char,
data: *const u8,
data_len: Size,
host_context: *mut c_void,
) -> i32
Expand description
Call a function with host context.
func_name
: is the function to call
data
: is the input data
data_len
: is the length of data
host_context
: a pointer to context data that will be available in host functions