| 11139 | |
| 11140 | |
| 11141 | static int luaB_loadstring (lua_State *L) { |
| 11142 | size_t l; |
| 11143 | const char *s = luaL_checklstring(L, 1, &l); |
| 11144 | const char *chunkname = luaL_optstring(L, 2, s); |
| 11145 | return load_aux(L, luaL_loadbuffer(L, s, l, chunkname)); |
| 11146 | } |
| 11147 | |
| 11148 | |
| 11149 | static int luaB_loadfile (lua_State *L) { |
nothing calls this directly
no test coverage detected