[−][src]Module fluence_sdk_main::export_allocator
This module provides default implementations of allocate and deallocate functions that
can be used for array passing and returning.
This module is enabled by default, to disable it please import this crate with
default-features = false.
Functions
| allocate⚠ | Allocates memory area of specified size and returns its address. Used from the host environment for memory allocation while parameters passing. |
| deallocate⚠ | Deallocates memory area for provided memory pointer and size. Used from the host environment for memory deallocation after reading results of function from Wasm memory. |