diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-25 14:45:36 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-25 14:45:36 -0200 |
| commit | a53d9b66ca6247818acaf41e28cdf123082a272b (patch) | |
| tree | 8e909200d4d925fc7394e6adf83cc5941456c588 /lobject.c | |
| parent | c8559e3c8d12e052783e2952db1372c68cc16059 (diff) | |
| download | lua-a53d9b66ca6247818acaf41e28cdf123082a272b.tar.gz lua-a53d9b66ca6247818acaf41e28cdf123082a272b.tar.bz2 lua-a53d9b66ca6247818acaf41e28cdf123082a272b.zip | |
first implementation for type names
Diffstat (limited to 'lobject.c')
| -rw-r--r-- | lobject.c | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.c,v 1.59 2001/01/19 13:20:30 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.60 2001/01/24 15:45:33 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 | */ |
| @@ -22,12 +22,6 @@ | |||
| 22 | const TObject luaO_nilobject = {LUA_TNIL, {NULL}}; | 22 | const TObject luaO_nilobject = {LUA_TNIL, {NULL}}; |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | const char *const luaO_typenames[] = { | ||
| 26 | "userdata", "nil", "number", "string", "table", "function" | ||
| 27 | }; | ||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | /* | 25 | /* |
| 32 | ** returns smaller power of 2 larger than `n' (minimum is MINPOWER2) | 26 | ** returns smaller power of 2 larger than `n' (minimum is MINPOWER2) |
| 33 | */ | 27 | */ |
