MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lsys_sym

Function lsys_sym

3rd/lua-5.4.3/src/loadlib.c:141–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140
141static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) {
142 lua_CFunction f = cast_func(dlsym(lib, sym));
143 if (l_unlikely(f == NULL))
144 lua_pushstring(L, dlerror());
145 return f;
146}
147
148/* }====================================================== */
149

Callers 1

lookforfuncFunction · 0.85

Calls 2

lua_pushstringFunction · 0.85
pusherrorFunction · 0.85

Tested by

no test coverage detected