diff options
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 14 |
1 files changed, 4 insertions, 10 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 2.35 2010/03/12 19:14:06 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.36 2010/03/26 20:58:11 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 | */ |
| @@ -16,18 +16,12 @@ | |||
| 16 | #include "lua.h" | 16 | #include "lua.h" |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | /* tags for values visible from Lua */ | ||
| 20 | #define LAST_TAG LUA_TTHREAD | ||
| 21 | |||
| 22 | #define NUM_TAGS (LAST_TAG+1) | ||
| 23 | |||
| 24 | |||
| 25 | /* | 19 | /* |
| 26 | ** Extra tags for non-values | 20 | ** Extra tags for non-values |
| 27 | */ | 21 | */ |
| 28 | #define LUA_TPROTO (LAST_TAG+1) | 22 | #define LUA_TPROTO LUA_NUMTAGS |
| 29 | #define LUA_TUPVAL (LAST_TAG+2) | 23 | #define LUA_TUPVAL (LUA_NUMTAGS+1) |
| 30 | #define LUA_TDEADKEY (LAST_TAG+3) | 24 | #define LUA_TDEADKEY (LUA_NUMTAGS+2) |
| 31 | 25 | ||
| 32 | 26 | ||
| 33 | /* | 27 | /* |
