1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead

of mode)
This commit is contained in:
Roberto Ierusalimschy
2017-04-24 13:59:26 -03:00
parent 6a98aa0bb0
commit 69371c4b84
5 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
** $Id: lapi.c,v 2.263 2017/04/19 17:02:50 roberto Exp roberto $
** $Id: lapi.c,v 2.264 2017/04/20 18:22:44 roberto Exp roberto $
** Lua API
** See Copyright Notice in lua.h
*/
@@ -1111,7 +1111,7 @@ LUA_API int lua_gc (lua_State *L, int what, int data) {
break;
}
case LUA_GCINC: {
luaC_changemode(L, KGC_NORMAL);
luaC_changemode(L, KGC_INC);
break;
}
default: res = -1; /* invalid option */