MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / ll_load

Function ll_load

Source/Misc/lua/src/lua.c:12836–12840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12834
12835
12836static void *ll_load (lua_State *L, const char *path) {
12837void *lib = dlopen(path, RTLD_NOW);
12838if (lib == NULL) lua_pushstring(L, dlerror());
12839return lib;
12840}
12841
12842
12843static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {

Callers 1

ll_loadfuncFunction · 0.85

Calls 3

lua_pushstringFunction · 0.85
pusherrorFunction · 0.85
errorfromcodeFunction · 0.85

Tested by

no test coverage detected