MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / lsys_sym

Function lsys_sym

xrepo/packages/l/lua/port/lua/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.70
pusherrorFunction · 0.70

Tested by

no test coverage detected