aboutsummaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorThe Lua team <lua@tecgraf.puc-rio.br>1993-07-28 10:18:00 -0300
committerThe Lua team <lua@tecgraf.puc-rio.br>1993-07-28 10:18:00 -0300
commitcd05d9c5cb69020c069f037ba7f243f705d0a48a (patch)
treecb7f08c0684c10970a528984741047fb3babadd3 /table.h
downloadlua-cd05d9c5cb69020c069f037ba7f243f705d0a48a.tar.gz
lua-cd05d9c5cb69020c069f037ba7f243f705d0a48a.tar.bz2
lua-cd05d9c5cb69020c069f037ba7f243f705d0a48a.zip
oldest known commit
Diffstat (limited to 'table.h')
-rw-r--r--table.h39
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
11extern Symbol *lua_table;
12extern Word lua_ntable;
13
14extern char **lua_constant;
15extern Word lua_nconstant;
16
17extern char **lua_string;
18extern Word lua_nstring;
19
20extern Hash **lua_array;
21extern Word lua_narray;
22
23extern char *lua_file[];
24extern int lua_nfile;
25
26#define lua_markstring(s) (*((s)-1))
27
28
29int lua_findsymbol (char *s);
30int lua_findenclosedconstant (char *s);
31int lua_findconstant (char *s);
32void lua_markobject (Object *o);
33char *lua_createstring (char *s);
34void *lua_createarray (void *a);
35int lua_addfile (char *fn);
36char *lua_filename (void);
37void lua_nextvar (void);
38
39#endif