diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-04 15:50:24 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-04 15:50:24 -0200 |
commit | 1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4 (patch) | |
tree | 103b57aa472bced30c599536bfac78d3e94f7130 /lref.h | |
parent | dcc10accea47fa1475c627de6f7c3e3f7eeec27b (diff) | |
download | lua-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.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 | |||
12 | int luaR_ref (const TObject *o, int lock); | ||
13 | const TObject *luaR_getref (int ref); | ||
14 | void luaR_invalidaterefs (void); | ||
15 | |||
16 | |||
17 | #endif | ||