Function extism_runtime::sdk::extism_plugin_call
source · #[no_mangle]
pub unsafe extern "C" fn extism_plugin_call(
ctx: *mut Context,
plugin_id: PluginIndex,
func_name: *const c_char,
data: *const u8,
data_len: Size
) -> i32Expand description
Call a function
func_name: is the function to call
data: is the input data
data_len: is the length of data