lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 3226ac2da8477456aaa38443507d3f276ebd74b7
parent 3e9daa741623aaa8a191aa98cd43e462b8bf2d33
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Thu, 14 Mar 1996 12:56:59 -0300

"lua_ntable" and "lua_nconstant" are public (undump.c uses them).

Diffstat:
Mtable.c | 6+++---
Mtable.h | 4+++-
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/table.c b/table.c @@ -3,7 +3,7 @@ ** Module to control static tables */ -char *rcs_table="$Id: table.c,v 2.47 1996/02/14 18:25:04 roberto Exp roberto $"; +char *rcs_table="$Id: table.c,v 2.48 1996/02/26 21:00:27 roberto Exp roberto $"; #include "mem.h" #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 $"; #define BUFFER_BLOCK 256 Symbol *lua_table = NULL; -static Word lua_ntable = 0; +Word lua_ntable = 0; static Long lua_maxsymbol = 0; TaggedString **lua_constant = NULL; -static Word lua_nconstant = 0; +Word lua_nconstant = 0; static Long lua_maxconstant = 0; diff --git a/table.h b/table.h @@ -1,7 +1,7 @@ /* ** Module to control static tables ** TeCGraf - PUC-Rio -** $Id: table.h,v 2.18 1996/02/14 13:35:51 roberto Exp roberto $ +** $Id: table.h,v 2.19 1996/02/26 21:00:27 roberto Exp roberto $ */ #ifndef table_h @@ -18,7 +18,9 @@ typedef struct extern Symbol *lua_table; +extern Word lua_ntable; extern TaggedString **lua_constant; +extern Word lua_nconstant; void luaI_initsymbol (void); void luaI_initconstant (void);