浏览代码

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

Roberto Ierusalimschy 29 年之前
父节点
当前提交
3226ac2da8
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. 3 3
      table.c
  2. 3 1
      table.h

+ 3 - 3
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;
 
 

+ 3 - 1
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);