diff options
Diffstat (limited to 'lref.h')
-rw-r--r-- | lref.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lref.h b/lref.h deleted file mode 100644 index 4aec948d..00000000 --- a/lref.h +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | /* | ||
2 | ** $Id: lref.h,v 1.5 1999/12/27 17:33:22 roberto Exp roberto $ | ||
3 | ** reference 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 | |||
13 | #define NONEXT -1 /* to end the free list */ | ||
14 | #define HOLD -2 | ||
15 | #define COLLECTED -3 | ||
16 | #define LOCK -4 | ||
17 | |||
18 | |||
19 | struct Ref { | ||
20 | TObject o; | ||
21 | int st; /* can be LOCK, HOLD, COLLECTED, or next (for free list) */ | ||
22 | }; | ||
23 | |||
24 | |||
25 | void luaR_invalidaterefs (lua_State *L); | ||
26 | |||
27 | #endif | ||