MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / ll_load

Function ll_load

deps/lua/src/loadlib.c:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68static void *ll_load (lua_State *L, const char *path) {
69 void *lib = dlopen(path, RTLD_NOW);
70 if (lib == NULL) lua_pushstring(L, dlerror());
71 return lib;
72}
73
74
75static 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