diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1366,6 +1366,9 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) { | |||
1366 | else if EQ("newthread") { | 1366 | else if EQ("newthread") { |
1367 | lua_newthread(L1); | 1367 | lua_newthread(L1); |
1368 | } | 1368 | } |
1369 | else if EQ("resetthread") { | ||
1370 | lua_pushinteger(L1, lua_resetthread(L1)); | ||
1371 | } | ||
1369 | else if EQ("newuserdata") { | 1372 | else if EQ("newuserdata") { |
1370 | lua_newuserdata(L1, getnum); | 1373 | lua_newuserdata(L1, getnum); |
1371 | } | 1374 | } |