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