Function extism_runtime::sdk::extism_current_plugin_memory_alloc
source · #[no_mangle]
pub unsafe extern "C" fn extism_current_plugin_memory_alloc(
plugin: *mut Plugin,
n: Size
) -> u64Expand description
Allocate a memory block in the currently running plugin NOTE: this should only be called from host functions.