| 13168 | |
| 13169 | |
| 13170 | static int loader_C (lua_State *L) { |
| 13171 | const char *funcname; |
| 13172 | const char *name = luaL_checkstring(L, 1); |
| 13173 | const char *filename = findfile(L, name, "cpath"); |
| 13174 | if (filename == NULL) return 1; /* library not found in this path */ |
| 13175 | funcname = mkfuncname(L, name); |
| 13176 | if (ll_loadfunc(L, filename, funcname) != 0) |
| 13177 | loaderror(L, filename); |
| 13178 | return 1; /* library loaded successfully */ |
| 13179 | } |
| 13180 | |
| 13181 | |
| 13182 | static int loader_Croot (lua_State *L) { |
nothing calls this directly
no test coverage detected