| 115 | |
| 116 | |
| 117 | static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { |
| 118 | lua_CFunction f = cast_Lfunc(dlsym(lib, sym)); |
| 119 | if (l_unlikely(f == NULL)) |
| 120 | lua_pushstring(L, dlerror()); |
| 121 | return f; |
| 122 | } |
| 123 | |
| 124 | /* }====================================================== */ |
| 125 |
no test coverage detected