37 lumiera_plugin_load_DYNLIB (
const char*
name)
39 TRACE (pluginloader_dbg,
"load DYNLIB: %s", name);
42 LumieraInterface plugin = NULL;
44 void* handle = dlopen (name, RTLD_LAZY|RTLD_LOCAL);
60 lumiera_plugin_unload_DYNLIB (LumieraPlugin
self)
62 TRACE (pluginloader_dbg);
#define LUMIERA_ERROR_SET(flag, err, extra)
Helper macro to raise an error for the current thread.
LumieraPlugin lumiera_plugin_new(const char *name)
Allocates an preinitialises a plugin structure.
Lumiera plugins define 'interfaces' as shown in interface.h, the plugin system handles the loading of...
This header is for including and configuring NoBug.
Round robin temporary buffers.
LumieraPlugin lumiera_plugin_init(LumieraPlugin self, void *handle, LumieraInterface plugin)
#define LUMIERA_INTERFACE_DSTRING(iname, version, dname)
Construct a definition string for an interface.
void * lumiera_plugin_handle(LumieraPlugin self)
Query the plugin handle.
char * lumiera_tmpbuf_snprintf(size_t size, const char *fmt,...)
Construct a string in a tmpbuf.