| 139 | |
| 140 | |
| 141 | static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { |
| 142 | lua_CFunction f = (lua_CFunction)dlsym(lib, sym); |
| 143 | if (f == NULL) lua_pushstring(L, dlerror()); |
| 144 | return f; |
| 145 | } |
| 146 | |
| 147 | /* }====================================================== */ |
| 148 |
no test coverage detected