MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ll_load

Function ll_load

app/redis-6.2.6/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

pusherrorFunction · 0.85
errorfromcodeFunction · 0.85
lua_pushstringFunction · 0.70

Tested by

no test coverage detected