aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-03-14 12:57:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-03-14 12:57:19 -0300
commit3226ac2da8477456aaa38443507d3f276ebd74b7 (patch)
tree5e031e000a130aff06f262fbb68599dd79fc03b7
parent3e9daa741623aaa8a191aa98cd43e462b8bf2d33 (diff)
downloadlua-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.c6
-rw-r--r--table.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/table.c b/table.c
index bd6e805b..4206f6cd 100644
--- a/table.c
+++ b/table.c
@@ -3,7 +3,7 @@
3** Module to control static tables 3** Module to control static tables
4*/ 4*/
5 5
6char *rcs_table="$Id: table.c,v 2.47 1996/02/14 18:25:04 roberto Exp roberto $"; 6char *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
21Symbol *lua_table = NULL; 21Symbol *lua_table = NULL;
22static Word lua_ntable = 0; 22Word lua_ntable = 0;
23static Long lua_maxsymbol = 0; 23static Long lua_maxsymbol = 0;
24 24
25TaggedString **lua_constant = NULL; 25TaggedString **lua_constant = NULL;
26static Word lua_nconstant = 0; 26Word lua_nconstant = 0;
27static Long lua_maxconstant = 0; 27static Long lua_maxconstant = 0;
28 28
29 29
diff --git a/table.h b/table.h
index 6360f102..de942458 100644
--- a/table.h
+++ b/table.h
@@ -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
20extern Symbol *lua_table; 20extern Symbol *lua_table;
21extern Word lua_ntable;
21extern TaggedString **lua_constant; 22extern TaggedString **lua_constant;
23extern Word lua_nconstant;
22 24
23void luaI_initsymbol (void); 25void luaI_initsymbol (void);
24void luaI_initconstant (void); 26void luaI_initconstant (void);