Garbage Collector

This commit is contained in:
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
parent 60cc473bcf
commit 189d64409b
2 changed files with 316 additions and 0 deletions

21
lgc.h Normal file
View File

@@ -0,0 +1,21 @@
/*
** $Id: $
** Garbage Collector
** See Copyright Notice in lua.h
*/
#ifndef lgc_h
#define lgc_h
#include "lobject.h"
extern long luaC_threshold;
void luaC_checkGC (void);
TObject* luaC_getref (int ref);
int luaC_ref (TObject *o, int lock);
#endif