aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
commit189d64409b5f7e09fb7650e7217d55277b1fccba (patch)
treef08f8ba854b92a061435f191e0f0d87fdc06701e /lgc.h
parent60cc473bcfce079d1525fcffcfdfbeb66e35afa2 (diff)
downloadlua-189d64409b5f7e09fb7650e7217d55277b1fccba.tar.gz
lua-189d64409b5f7e09fb7650e7217d55277b1fccba.tar.bz2
lua-189d64409b5f7e09fb7650e7217d55277b1fccba.zip
Garbage Collector
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lgc.h b/lgc.h
new file mode 100644
index 00000000..fdf75d05
--- /dev/null
+++ b/lgc.h
@@ -0,0 +1,21 @@
1/*
2** $Id: $
3** Garbage Collector
4** See Copyright Notice in lua.h
5*/
6
7#ifndef lgc_h
8#define lgc_h
9
10
11#include "lobject.h"
12
13
14extern long luaC_threshold;
15
16void luaC_checkGC (void);
17TObject* luaC_getref (int ref);
18int luaC_ref (TObject *o, int lock);
19
20
21#endif