aboutsummaryrefslogtreecommitdiff
path: root/lref.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-04 15:50:24 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-04 15:50:24 -0200
commit1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4 (patch)
tree103b57aa472bced30c599536bfac78d3e94f7130 /lref.h
parentdcc10accea47fa1475c627de6f7c3e3f7eeec27b (diff)
downloadlua-1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4.tar.gz
lua-1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4.tar.bz2
lua-1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4.zip
implementation of lua_ref (previously in module `lmem').
Diffstat (limited to 'lref.h')
-rw-r--r--lref.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/lref.h b/lref.h
new file mode 100644
index 00000000..60e14e85
--- /dev/null
+++ b/lref.h
@@ -0,0 +1,17 @@
1/*
2** $Id: $
3** REF mechanism
4** See Copyright Notice in lua.h
5*/
6
7#ifndef lref_h
8#define lref_h
9
10#include "lobject.h"
11
12int luaR_ref (const TObject *o, int lock);
13const TObject *luaR_getref (int ref);
14void luaR_invalidaterefs (void);
15
16
17#endif