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