summaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-30 19:00:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-30 19:00:50 -0300
commit0892f0e5b75c51f1fee07276a3ba13301b83409e (patch)
tree9f3b9ec92f26c05a85c826ffc5f803fda2f48867 /table.h
parent1d7857bc635c0bfe7c5b1f325d31feb7660e9a5a (diff)
downloadlua-0892f0e5b75c51f1fee07276a3ba13301b83409e.tar.gz
lua-0892f0e5b75c51f1fee07276a3ba13301b83409e.tar.bz2
lua-0892f0e5b75c51f1fee07276a3ba13301b83409e.zip
BIG CHANGE: functions have their own "constant table".
Diffstat (limited to 'table.h')
-rw-r--r--table.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/table.h b/table.h
index 99d6fe91..93d549f9 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.24 1997/04/07 14:48:53 roberto Exp roberto $ 4** $Id: table.h,v 2.25 1997/05/26 14:42:36 roberto Exp roberto $
5*/ 5*/
6 6
7#ifndef table_h 7#ifndef table_h
@@ -19,18 +19,16 @@ typedef struct
19 19
20extern Symbol *lua_table; 20extern Symbol *lua_table;
21extern Word lua_ntable; 21extern Word lua_ntable;
22extern TaggedString **lua_constant;
23extern Word lua_nconstant;
24 22
25void luaI_initsymbol (void); 23void luaI_initsymbol (void);
26void luaI_initconstant (void); 24void luaI_initconstant (void);
27Word luaI_findsymbolbyname (char *name); 25Word luaI_findsymbolbyname (char *name);
28Word luaI_findsymbol (TaggedString *t); 26Word luaI_findsymbol (TaggedString *t);
29Word luaI_findconstant (TaggedString *t);
30Word luaI_findconstantbyname (char *name);
31int luaI_globaldefined (char *name); 27int luaI_globaldefined (char *name);
32void luaI_nextvar (void); 28void luaI_nextvar (void);
33TaggedString *luaI_createfixedstring (char *str); 29TaggedString *luaI_createtempstring (char *name);
30void luaI_releasestring (TaggedString *t);
31void luaI_fixstring (TaggedString *t);
34int lua_markobject (TObject *o); 32int lua_markobject (TObject *o);
35int luaI_ismarked (TObject *o); 33int luaI_ismarked (TObject *o);
36void lua_pack (void); 34void lua_pack (void);