aboutsummaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorWaldemar Celes <celes@tecgraf.puc-rio.br>1994-04-20 19:07:57 -0300
committerWaldemar Celes <celes@tecgraf.puc-rio.br>1994-04-20 19:07:57 -0300
commit44521b21e542831a95de0c63271cd38d1cd4d394 (patch)
tree0fd861510cd5c0a1880410442c642c2388a02e57 /table.h
parentf8fb7b39478c3468192c69fcb2154f9022dbab64 (diff)
downloadlua-44521b21e542831a95de0c63271cd38d1cd4d394.tar.gz
lua-44521b21e542831a95de0c63271cd38d1cd4d394.tar.bz2
lua-44521b21e542831a95de0c63271cd38d1cd4d394.zip
Implementacao da nova estrategia para armazenar os arrays
em lista encadeada.
Diffstat (limited to 'table.h')
-rw-r--r--table.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/table.h b/table.h
index ca246dc6..17be39e4 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 1.1 1993/12/17 18:41:19 celes Exp roberto $ 4** $Id: table.h,v 1.2 1993/12/22 21:15:16 roberto Exp celes $
5*/ 5*/
6 6
7#ifndef table_h 7#ifndef table_h
@@ -22,17 +22,21 @@ extern Word lua_narray;
22extern char *lua_file[]; 22extern char *lua_file[];
23extern int lua_nfile; 23extern int lua_nfile;
24 24
25#define lua_markstring(s) (*((s)-1)) 25extern Word lua_block;
26extern Word lua_nentity;
26 27
27 28
28int lua_findsymbol (char *s); 29
29int lua_findconstant (char *s); 30int lua_findsymbol (char *s);
30void lua_markobject (Object *o); 31int lua_findconstant (char *s);
31char *lua_createstring (char *s); 32void lua_travsymbol (void (*fn)(Object *));
32void *lua_createarray (void *a); 33void lua_markobject (Object *o);
33int lua_addfile (char *fn); 34void lua_pack (void);
34int lua_delfile (void); 35void lua_stringcollector (void);
35char *lua_filename (void); 36char *lua_createstring (char *s);
36void lua_nextvar (void); 37int lua_addfile (char *fn);
38int lua_delfile (void);
39char *lua_filename (void);
40void lua_nextvar (void);
37 41
38#endif 42#endif