diff options
| author | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-04-20 19:07:57 -0300 |
|---|---|---|
| committer | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-04-20 19:07:57 -0300 |
| commit | 44521b21e542831a95de0c63271cd38d1cd4d394 (patch) | |
| tree | 0fd861510cd5c0a1880410442c642c2388a02e57 /table.h | |
| parent | f8fb7b39478c3468192c69fcb2154f9022dbab64 (diff) | |
| download | lua-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.h | 26 |
1 files changed, 15 insertions, 11 deletions
| @@ -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; | |||
| 22 | extern char *lua_file[]; | 22 | extern char *lua_file[]; |
| 23 | extern int lua_nfile; | 23 | extern int lua_nfile; |
| 24 | 24 | ||
| 25 | #define lua_markstring(s) (*((s)-1)) | 25 | extern Word lua_block; |
| 26 | extern Word lua_nentity; | ||
| 26 | 27 | ||
| 27 | 28 | ||
| 28 | int lua_findsymbol (char *s); | 29 | |
| 29 | int lua_findconstant (char *s); | 30 | int lua_findsymbol (char *s); |
| 30 | void lua_markobject (Object *o); | 31 | int lua_findconstant (char *s); |
| 31 | char *lua_createstring (char *s); | 32 | void lua_travsymbol (void (*fn)(Object *)); |
| 32 | void *lua_createarray (void *a); | 33 | void lua_markobject (Object *o); |
| 33 | int lua_addfile (char *fn); | 34 | void lua_pack (void); |
| 34 | int lua_delfile (void); | 35 | void lua_stringcollector (void); |
| 35 | char *lua_filename (void); | 36 | char *lua_createstring (char *s); |
| 36 | void lua_nextvar (void); | 37 | int lua_addfile (char *fn); |
| 38 | int lua_delfile (void); | ||
| 39 | char *lua_filename (void); | ||
| 40 | void lua_nextvar (void); | ||
| 37 | 41 | ||
| 38 | #endif | 42 | #endif |
