diff options
-rw-r--r-- | lobject.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.15 2005/06/06 13:30:25 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.16 2005/06/13 14:15:54 roberto Exp roberto $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -17,15 +17,17 @@ | |||
17 | 17 | ||
18 | 18 | ||
19 | /* tags for values visible from Lua */ | 19 | /* tags for values visible from Lua */ |
20 | #define NUM_TAGS LUA_TTHREAD | 20 | #define LAST_TAG LUA_TTHREAD |
21 | |||
22 | #define NUM_TAGS (LAST_TAG+1) | ||
21 | 23 | ||
22 | 24 | ||
23 | /* | 25 | /* |
24 | ** Extra tags for non-values | 26 | ** Extra tags for non-values |
25 | */ | 27 | */ |
26 | #define LUA_TPROTO (NUM_TAGS+1) | 28 | #define LUA_TPROTO (LAST_TAG+1) |
27 | #define LUA_TUPVAL (NUM_TAGS+2) | 29 | #define LUA_TUPVAL (LAST_TAG+2) |
28 | #define LUA_TDEADKEY (NUM_TAGS+3) | 30 | #define LUA_TDEADKEY (LAST_TAG+3) |
29 | 31 | ||
30 | 32 | ||
31 | /* | 33 | /* |