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

This commit is contained in:
Roberto Ierusalimschy
1996-03-14 12:57:19 -03:00
parent 3e9daa7416
commit 3226ac2da8
2 changed files with 6 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
** Module to control static tables ** 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 "mem.h"
#include "opcode.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 #define BUFFER_BLOCK 256
Symbol *lua_table = NULL; Symbol *lua_table = NULL;
static Word lua_ntable = 0; Word lua_ntable = 0;
static Long lua_maxsymbol = 0; static Long lua_maxsymbol = 0;
TaggedString **lua_constant = NULL; TaggedString **lua_constant = NULL;
static Word lua_nconstant = 0; Word lua_nconstant = 0;
static Long lua_maxconstant = 0; static Long lua_maxconstant = 0;

View File

@@ -1,7 +1,7 @@
/* /*
** Module to control static tables ** Module to control static tables
** TeCGraf - PUC-Rio ** 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 #ifndef table_h
@@ -18,7 +18,9 @@ typedef struct
extern Symbol *lua_table; extern Symbol *lua_table;
extern Word lua_ntable;
extern TaggedString **lua_constant; extern TaggedString **lua_constant;
extern Word lua_nconstant;
void luaI_initsymbol (void); void luaI_initsymbol (void);
void luaI_initconstant (void); void luaI_initconstant (void);