| 73 | |
| 74 | |
| 75 | static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { |
| 76 | lua_CFunction f = (lua_CFunction)dlsym(lib, sym); |
| 77 | if (f == NULL) lua_pushstring(L, dlerror()); |
| 78 | return f; |
| 79 | } |
| 80 | |
| 81 | /* }====================================================== */ |
| 82 |
no test coverage detected