diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 17:34:02 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 17:34:02 -0200 |
commit | 63a822c8e199918c54e325cbc8696ed04071aba8 (patch) | |
tree | 430e1b2fe1ffafb712bd712b5b625a18afaa953d /lobject.c | |
parent | 09def5da4440a5a91c2721f495bd9c3df1081874 (diff) | |
download | lua-63a822c8e199918c54e325cbc8696ed04071aba8.tar.gz lua-63a822c8e199918c54e325cbc8696ed04071aba8.tar.bz2 lua-63a822c8e199918c54e325cbc8696ed04071aba8.zip |
all boxed types start with their tags
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 1.61 2001/01/25 16:45:36 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.62 2001/01/26 14:16:35 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -19,7 +19,8 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | 21 | ||
22 | const TObject luaO_nilobject = {LUA_TNIL, {NULL}}; | 22 | const char luaO_ttnil = LUA_TNIL; |
23 | const TObject luaO_nilobject = {LUA_TNIL, {(void *)&luaO_ttnil}}; | ||
23 | 24 | ||
24 | 25 | ||
25 | /* | 26 | /* |