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

Function ll_sym

deps/lua/src/loadlib.c:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74
75static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {
76 lua_CFunction f = (lua_CFunction)dlsym(lib, sym);
77 if (f == NULL) lua_pushstring(L, dlerror());
78 return f;
79}
80
81/* }====================================================== */
82

Callers 1

ll_loadfuncFunction · 0.85

Calls 3

lua_pushstringFunction · 0.85
pusherrorFunction · 0.85
lua_pushfstringFunction · 0.85

Tested by

no test coverage detected