aboutsummaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-14 19:40:14 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-14 19:40:14 -0200
commit86b35cf4f6a824880239069d0afe282e95806aaa (patch)
tree78352c354fc6befe1af900606cb84b23a40235e0 /table.h
parent3b7a36653b5da227502ec5a3c677b6a351af67be (diff)
downloadlua-86b35cf4f6a824880239069d0afe282e95806aaa.tar.gz
lua-86b35cf4f6a824880239069d0afe282e95806aaa.tar.bz2
lua-86b35cf4f6a824880239069d0afe282e95806aaa.zip
unification of symbol tree and constant tree
Diffstat (limited to 'table.h')
-rw-r--r--table.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/table.h b/table.h
index a885f201..423ba3dd 100644
--- a/table.h
+++ b/table.h
@@ -1,12 +1,14 @@
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.3 1994/10/17 19:03:23 celes Exp roberto $ 4** $Id: table.h,v 2.4 1994/11/03 21:48:36 roberto Exp roberto $
5*/ 5*/
6 6
7#ifndef table_h 7#ifndef table_h
8#define table_h 8#define table_h
9 9
10#include "tree.h"
11
10extern Symbol *lua_table; 12extern Symbol *lua_table;
11extern char **lua_constant; 13extern char **lua_constant;
12 14
@@ -19,8 +21,9 @@ extern Word lua_recovered;
19 21
20 22
21void lua_initconstant (void); 23void lua_initconstant (void);
22int lua_findsymbol (char *s); 24int luaI_findsymbolbyname (char *name);
23int lua_findconstant (char *s); 25int luaI_findsymbol (TreeNode *t);
26int luaI_findconstant (TreeNode *t);
24void lua_travsymbol (void (*fn)(Object *)); 27void lua_travsymbol (void (*fn)(Object *));
25void lua_markobject (Object *o); 28void lua_markobject (Object *o);
26void lua_pack (void); 29void lua_pack (void);