diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-14 12:57:19 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-14 12:57:19 -0300 |
| commit | 3226ac2da8477456aaa38443507d3f276ebd74b7 (patch) | |
| tree | 5e031e000a130aff06f262fbb68599dd79fc03b7 | |
| parent | 3e9daa741623aaa8a191aa98cd43e462b8bf2d33 (diff) | |
| download | lua-3226ac2da8477456aaa38443507d3f276ebd74b7.tar.gz lua-3226ac2da8477456aaa38443507d3f276ebd74b7.tar.bz2 lua-3226ac2da8477456aaa38443507d3f276ebd74b7.zip | |
"lua_ntable" and "lua_nconstant" are public (undump.c uses them).
| -rw-r--r-- | table.c | 6 | ||||
| -rw-r--r-- | table.h | 4 |
2 files changed, 6 insertions, 4 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** Module to control static tables | 3 | ** Module to control static tables |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_table="$Id: table.c,v 2.47 1996/02/14 18:25:04 roberto Exp roberto $"; | 6 | char *rcs_table="$Id: table.c,v 2.48 1996/02/26 21:00:27 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include "mem.h" | 8 | #include "mem.h" |
| 9 | #include "opcode.h" | 9 | #include "opcode.h" |
| @@ -19,11 +19,11 @@ char *rcs_table="$Id: table.c,v 2.47 1996/02/14 18:25:04 roberto Exp roberto $"; | |||
| 19 | #define BUFFER_BLOCK 256 | 19 | #define BUFFER_BLOCK 256 |
| 20 | 20 | ||
| 21 | Symbol *lua_table = NULL; | 21 | Symbol *lua_table = NULL; |
| 22 | static Word lua_ntable = 0; | 22 | Word lua_ntable = 0; |
| 23 | static Long lua_maxsymbol = 0; | 23 | static Long lua_maxsymbol = 0; |
| 24 | 24 | ||
| 25 | TaggedString **lua_constant = NULL; | 25 | TaggedString **lua_constant = NULL; |
| 26 | static Word lua_nconstant = 0; | 26 | Word lua_nconstant = 0; |
| 27 | static Long lua_maxconstant = 0; | 27 | static Long lua_maxconstant = 0; |
| 28 | 28 | ||
| 29 | 29 | ||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** Module to control static tables | 2 | ** Module to control static tables |
| 3 | ** TeCGraf - PUC-Rio | 3 | ** TeCGraf - PUC-Rio |
| 4 | ** $Id: table.h,v 2.18 1996/02/14 13:35:51 roberto Exp roberto $ | 4 | ** $Id: table.h,v 2.19 1996/02/26 21:00:27 roberto Exp roberto $ |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifndef table_h | 7 | #ifndef table_h |
| @@ -18,7 +18,9 @@ typedef struct | |||
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | extern Symbol *lua_table; | 20 | extern Symbol *lua_table; |
| 21 | extern Word lua_ntable; | ||
| 21 | extern TaggedString **lua_constant; | 22 | extern TaggedString **lua_constant; |
| 23 | extern Word lua_nconstant; | ||
| 22 | 24 | ||
| 23 | void luaI_initsymbol (void); | 25 | void luaI_initsymbol (void); |
| 24 | void luaI_initconstant (void); | 26 | void luaI_initconstant (void); |
