MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / ll_load

Function ll_load

third-party/lua-5.2.4/src/loadlib.c:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134static void *ll_load (lua_State *L, const char *path, int seeglb) {
135 void *lib = dlopen(path, RTLD_NOW | (seeglb ? RTLD_GLOBAL : RTLD_LOCAL));
136 if (lib == NULL) lua_pushstring(L, dlerror());
137 return lib;
138}
139
140
141static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {

Callers 1

ll_loadfuncFunction · 0.70

Calls 2

lua_pushstringFunction · 0.70
pusherrorFunction · 0.70

Tested by

no test coverage detected