Module extension

Source

Structs§

BufferDataLoader
A DataLoader that wraps a pre-allocated buffer. The FreeableBuffers that it returns do not actually free any data.
FileDataLoader
A DataLoader that loads segments from a file, allocating the memory with malloc().
MallocMemoryAllocator
Dynamically allocates memory using malloc() and frees all pointers at destruction time.
MmapDataLoader
A DataLoader that loads segments from a file, allocating the memory with malloc().
Module
A facade class for loading programs and executing methods within them.

Enums§

MmapDataLoader_MlockConfig
Describes how and whether to lock loaded pages with mlock().
Module_LoadMode
Enum to define loading behavior.

Functions§

FileDataLoader_FileDataLoader_destructor
FileDataLoader_load_into
MmapDataLoader_MmapDataLoader_destructor
Module_Module1
Constructs an instance with the provided data loader and memory allocator.
Module_load
Loads the program if needed.
Module_method_names
Get a list of method names available in the loaded program. Loads the program and method if needed.