Function extism::sdk::extism_current_plugin_memory_alloc

source ยท
#[no_mangle]
pub unsafe extern "C" fn extism_current_plugin_memory_alloc(
    plugin: *mut CurrentPlugin,
    n: Size,
) -> ExtismMemoryHandle
Expand description

Allocate a memory block in the currently running plugin NOTE: this should only be called from host functions.