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

Function LoadObject

src/humblenet/src/libwebrtc_dynamic.cpp:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101#include <dlfcn.h>
102
103static void *LoadObject(const char* sofile)
104{
105 void *handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL);
106 if( !handle ) {
107 LOG("Could not open '%s': %s\n", sofile, dlerror() );
108 }
109 return handle;
110}
111
112static void* LoadFunction(void *handle, const char* name)
113{

Callers 1

webrtc_LoadLibraryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected