MCPcopy Create free account
hub / github.com/defold/defold / LoadFunction

Function LoadFunction

engine/dlib/src/dlib/memprofile.cpp:200–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200static void* LoadFunction(const char* name)
201{
202 void* fn = dlsym (RTLD_NEXT, name);
203 char* error = 0;
204 if ((error = dlerror()) != NULL)
205 {
206 Log(STDERR_FILENO, error);
207 exit(1);
208 }
209 return fn;
210}
211
212static void CreateHooks(void)
213{

Callers 1

CreateHooksFunction · 0.70

Calls 1

LogFunction · 0.70

Tested by

no test coverage detected