diff options
| author | The Lua team <lua@tecgraf.puc-rio.br> | 1993-07-28 10:18:00 -0300 |
|---|---|---|
| committer | The Lua team <lua@tecgraf.puc-rio.br> | 1993-07-28 10:18:00 -0300 |
| commit | cd05d9c5cb69020c069f037ba7f243f705d0a48a (patch) | |
| tree | cb7f08c0684c10970a528984741047fb3babadd3 /table.h | |
| download | lua-cd05d9c5cb69020c069f037ba7f243f705d0a48a.tar.gz lua-cd05d9c5cb69020c069f037ba7f243f705d0a48a.tar.bz2 lua-cd05d9c5cb69020c069f037ba7f243f705d0a48a.zip | |
oldest known commit
Diffstat (limited to 'table.h')
| -rw-r--r-- | table.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/table.h b/table.h new file mode 100644 index 00000000..8406ee22 --- /dev/null +++ b/table.h | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* | ||
| 2 | ** table.c | ||
| 3 | ** Module to control static tables | ||
| 4 | ** TeCGraf - PUC-Rio | ||
| 5 | ** 11 May 93 | ||
| 6 | */ | ||
| 7 | |||
| 8 | #ifndef table_h | ||
| 9 | #define table_h | ||
| 10 | |||
| 11 | extern Symbol *lua_table; | ||
| 12 | extern Word lua_ntable; | ||
| 13 | |||
| 14 | extern char **lua_constant; | ||
| 15 | extern Word lua_nconstant; | ||
| 16 | |||
| 17 | extern char **lua_string; | ||
| 18 | extern Word lua_nstring; | ||
| 19 | |||
| 20 | extern Hash **lua_array; | ||
| 21 | extern Word lua_narray; | ||
| 22 | |||
| 23 | extern char *lua_file[]; | ||
| 24 | extern int lua_nfile; | ||
| 25 | |||
| 26 | #define lua_markstring(s) (*((s)-1)) | ||
| 27 | |||
| 28 | |||
| 29 | int lua_findsymbol (char *s); | ||
| 30 | int lua_findenclosedconstant (char *s); | ||
| 31 | int lua_findconstant (char *s); | ||
| 32 | void lua_markobject (Object *o); | ||
| 33 | char *lua_createstring (char *s); | ||
| 34 | void *lua_createarray (void *a); | ||
| 35 | int lua_addfile (char *fn); | ||
| 36 | char *lua_filename (void); | ||
| 37 | void lua_nextvar (void); | ||
| 38 | |||
| 39 | #endif | ||
