From 3ca9af51a4f060cf2178901a67a21f8269af3224 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 11 Jul 2006 12:53:29 -0300 Subject: emergency garbage collector (core forces a GC when allocation fails) --- lapi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lapi.h') diff --git a/lapi.h b/lapi.h index bb522de5..b9ca73bf 100644 --- a/lapi.h +++ b/lapi.h @@ -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 -- cgit v1.2.3-55-g6feb