1997-09-16 12:25:59 -07:00
|
|
|
/*
|
1997-10-23 09:26:37 -07:00
|
|
|
** $Id: lgc.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $
|
1997-09-16 12:25:59 -07:00
|
|
|
** Garbage Collector
|
|
|
|
** See Copyright Notice in lua.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef lgc_h
|
|
|
|
#define lgc_h
|
|
|
|
|
|
|
|
|
|
|
|
#include "lobject.h"
|
|
|
|
|
|
|
|
|
1997-10-23 09:26:37 -07:00
|
|
|
extern unsigned long luaC_threshold;
|
1997-09-16 12:25:59 -07:00
|
|
|
|
|
|
|
void luaC_checkGC (void);
|
|
|
|
TObject* luaC_getref (int ref);
|
|
|
|
int luaC_ref (TObject *o, int lock);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|