| 264 | |
| 265 | |
| 266 | static int load_aux (lua_State *L, int status) { |
| 267 | if (status == 0) /* OK? */ |
| 268 | return 1; |
| 269 | else { |
| 270 | lua_pushnil(L); |
| 271 | lua_insert(L, -2); /* put before error message */ |
| 272 | return 2; /* return nil plus error message */ |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | |
| 277 | static int luaB_loadstring (lua_State *L) { |
no test coverage detected