diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.248 2015/03/28 19:14:47 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.249 2015/04/06 12:23:48 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1043,7 +1043,7 @@ LUA_API int lua_gc (lua_State *L, int what, int data) { | |||
1043 | } | 1043 | } |
1044 | case LUA_GCSTEP: { | 1044 | case LUA_GCSTEP: { |
1045 | l_mem debt = 1; /* =1 to signal that it did an actual step */ | 1045 | l_mem debt = 1; /* =1 to signal that it did an actual step */ |
1046 | int oldrunning = g->gcrunning; | 1046 | lu_byte oldrunning = g->gcrunning; |
1047 | g->gcrunning = 1; /* allow GC to run */ | 1047 | g->gcrunning = 1; /* allow GC to run */ |
1048 | if (data == 0) { | 1048 | if (data == 0) { |
1049 | luaE_setdebt(g, -GCSTEPSIZE); /* to do a "small" step */ | 1049 | luaE_setdebt(g, -GCSTEPSIZE); /* to do a "small" step */ |