summaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-29 17:34:02 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-29 17:34:02 -0200
commit63a822c8e199918c54e325cbc8696ed04071aba8 (patch)
tree430e1b2fe1ffafb712bd712b5b625a18afaa953d /lobject.c
parent09def5da4440a5a91c2721f495bd9c3df1081874 (diff)
downloadlua-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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index fec0c5e7..9dc413d8 100644
--- a/lobject.c
+++ b/lobject.c
@@ -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
22const TObject luaO_nilobject = {LUA_TNIL, {NULL}}; 22const char luaO_ttnil = LUA_TNIL;
23const TObject luaO_nilobject = {LUA_TNIL, {(void *)&luaO_ttnil}};
23 24
24 25
25/* 26/*