28 lumiera_plugin_load_DYNLIB (
const char*
name)
30 TRACE (pluginloader_dbg,
"load DYNLIB: %s", name);
33 LumieraInterface plugin = NULL;
35 void* handle = dlopen (name, RTLD_LAZY|RTLD_LOCAL);
51 lumiera_plugin_unload_DYNLIB (LumieraPlugin
self)
53 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.