Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Extism.Host_functionSourceHost_function represents the plugin that is currently running from inside a host function definition
Opaque type, wraps ExtismCurrentPlugin, this value should never be stored, it is only valid from inside the host function definition
Get host function parameters array
Get host function results array
Represents a block of guest memory
Return a string from a host function, this copies the string into memory and sets the results array at index with the pointer to the allocated value
Return a bigstring from a host function, this copies the bigstring into memory and sets the results array at index with the pointer to the allocated value
Get a string argument, the parameter at index should be an int64 value that points to the string in linear memory
Load a parameter directly from memory
Get parameter from params array at index and return the converted result
Similar to input_exn but raises an exception
Convert a value, allocate it and update the results array at index
Some helpter functions for reading/writing memory