MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lsys_sym

Function lsys_sym

lib/lua/src/loadlib.c:132–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) {
133 lua_CFunction f = cast_func(dlsym(lib, sym));
134 if (l_unlikely(f == NULL))
135 lua_pushstring(L, dlerror());
136 return f;
137}
138
139/* }====================================================== */
140

Callers 1

lookforfuncFunction · 0.85

Calls 2

lua_pushstringFunction · 0.85
pusherrorFunction · 0.85

Tested by

no test coverage detected