diff options
Diffstat (limited to '')
| -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 |
