Skip to content

_awe_PluginLoaderMethods

Module: AudioWeaver Plugins / Loading a Plugin

Method table to provide overrides to awe_PluginLoader_initWithMethods. More...

#include <AWEPluginLoader.h>

Public Attributes

Name
void ()(size_t size) malloc
Allocate memory.
void ()(void *ptr, size_t size) realloc
Reallocate memory.
void()(void ptr) free
Free memory.
void ()(const char *file) open
Open a shared library, returning a handle.
void()(void handle) close
Close a shared library.
void ()(void handle, const char name) sym
Look up a symbol in a shared library.
void()(int32_t level, uint32_t type, const char fmt, va_list args) vlog
Handle a log message.

Detailed Description

struct _awe_PluginLoaderMethods;

Method table to provide overrides to awe_PluginLoader_initWithMethods.

This struct defines a set of function pointers which are used by awe_PluginLoader to perform memory allocation, dynamic library loading, and symbol resolution. It should be passed to awe_PluginLoader_initWithMethods. To avoid overriding a default value, leave it null.

Public Attributes Documentation

variable malloc

void *(*)(size_t size) malloc;

Allocate memory.

variable realloc

void *(*)(void *ptr, size_t size) realloc;

Reallocate memory.

variable free

void(*)(void *ptr) free;

Free memory.

variable open

void *(*)(const char *file) open;

Open a shared library, returning a handle.

variable close

void(*)(void *handle) close;

Close a shared library.

variable sym

void *(*)(void *handle, const char *name) sym;

Look up a symbol in a shared library.

variable vlog

void(*)(int32_t level, uint32_t type, const char *fmt, va_list args) vlog;

Handle a log message.


Updated on 2026-02-10 at 15:44:29 -0500