MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / ll_load

Function ll_load

other_src/lua/src/loadlib.cpp:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70static void *ll_load (lua_State *L, const char *path) {
71 void *lib = dlopen(path, RTLD_NOW);
72 if (lib == NULL) lua_pushstring(L, dlerror());
73 return lib;
74}
75
76
77/*

Callers 1

ll_loadfuncFunction · 0.70

Calls 3

lua_pushstringFunction · 0.70
pusherrorFunction · 0.70
errorfromcodeFunction · 0.70

Tested by

no test coverage detected