emergency garbage collector (core forces a GC when allocation fails)

This commit is contained in:
Roberto Ierusalimschy
2006-07-11 12:53:29 -03:00
parent c7b89dd280
commit 3ca9af51a4
19 changed files with 190 additions and 153 deletions

8
lapi.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lapi.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $
** $Id: lapi.h,v 2.2 2005/04/25 19:24:10 roberto Exp roberto $
** Auxiliary functions from Lua API
** See Copyright Notice in lua.h
*/
@@ -8,9 +8,9 @@
#define lapi_h
#include "lobject.h"
#include "llimits.h"
#include "lstate.h"
LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o);
#define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top);}
#endif