diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-03 18:45:23 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-03 18:45:23 -0200 |
commit | 7135803cc87fafe80494bdc094613515487410b9 (patch) | |
tree | 439f9c6f1173707f7e37520c550e48edb5cafab8 /lobject.c | |
parent | b7567b667367180b75fbb60f7a73b75e5e89889e (diff) | |
download | lua-7135803cc87fafe80494bdc094613515487410b9.tar.gz lua-7135803cc87fafe80494bdc094613515487410b9.tar.bz2 lua-7135803cc87fafe80494bdc094613515487410b9.zip |
"global" version of a nil object.
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 1.4 1997/10/23 16:26:37 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.5 1997/10/24 17:17:24 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 | */ |
@@ -17,6 +17,10 @@ char *luaO_typenames[] = { /* ORDER LUA_T */ | |||
17 | }; | 17 | }; |
18 | 18 | ||
19 | 19 | ||
20 | TObject luaO_nilobject = {LUA_T_NIL, {NULL}}; | ||
21 | |||
22 | |||
23 | |||
20 | unsigned long luaO_nblocks = 0; | 24 | unsigned long luaO_nblocks = 0; |
21 | 25 | ||
22 | 26 | ||