lu_mem
lu_mem debt = cast(lu_mem, data) * 1024 - GCSTEPSIZE;
static lu_mem singlestep (lua_State *L) {
lu_mem oldtrav = g->GCmemtrav;
lu_mem work;
lu_mem estimate = g->GCestimate;
lu_mem work = singlestep(L); /* do some work */
lu_mem size;
static lu_mem traversetable (global_State *g, Table *h) {
static lu_mem traverseCclosure (global_State *g, CClosure *cl) {
static lu_mem traverseLclosure (global_State *g, LClosure *cl) {
static lu_mem traversestack (global_State *g, lua_State *th) {
lu_mem size;
static GCObject **sweeplist (lua_State *L, GCObject **p, lu_mem count);
static GCObject **sweeplist (lua_State *L, GCObject **p, lu_mem count) {
#define MAX_LUMEM ((lu_mem)(~(lu_mem)0)-2)
#define IntPoint(p) ((unsigned int)(lu_mem)(p))
lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */
lu_mem GCmemtrav; /* memory traversed by the GC */
lu_mem GCestimate; /* an estimate of the non-garbage memory in use */