aseprite/third_party/lua/src/lgc.h

25 lines
447 B
C
Raw Normal View History

2007-09-18 23:59:46 +00:00
/*
** $Id: lgc.h,v 1.1 2004/03/09 02:46:00 dacap Exp $
** Garbage Collector
** See Copyright Notice in lua.h
*/
#ifndef lgc_h
#define lgc_h
#include "lobject.h"
#define luaC_checkGC(L) if (G(L)->nblocks >= G(L)->GCthreshold) \
luaC_collectgarbage(L)
void luaC_callallgcTM (lua_State *L);
void luaC_sweep (lua_State *L, int all);
void luaC_collectgarbage (lua_State *L);
void luaC_link (lua_State *L, GCObject *o, lu_byte tt);
#endif