Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4680 right-hear 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