MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / LoadObject

Function LoadObject

src/humblenet/loader/loader.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include <dlfcn.h>
18
19static void *LoadObject(const char* sofile)
20{
21 void *handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL);
22 if (!handle) {
23 humblenet_set_error_DEFAULT(dlerror());
24 }
25 return handle;
26}
27
28static void* LoadFunction(void *handle, const char* name)
29{

Callers 1

humblenet_LoadLibraryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected