1993-07-28 10:18:00 -03:00
|
|
|
/*
|
|
|
|
** Module to control static tables
|
|
|
|
** TeCGraf - PUC-Rio
|
1995-10-13 12:16:25 -03:00
|
|
|
** $Id: table.h,v 2.10 1994/12/20 21:20:36 roberto Exp roberto $
|
1993-07-28 10:18:00 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef table_h
|
|
|
|
#define table_h
|
|
|
|
|
1994-11-14 19:40:14 -02:00
|
|
|
#include "tree.h"
|
1994-11-23 12:32:00 -02:00
|
|
|
#include "opcode.h"
|
1994-11-14 19:40:14 -02:00
|
|
|
|
1993-07-28 10:18:00 -03:00
|
|
|
extern Symbol *lua_table;
|
1994-11-23 12:32:00 -02:00
|
|
|
extern TaggedString **lua_constant;
|
1993-07-28 10:18:00 -03:00
|
|
|
|
|
|
|
extern char *lua_file[];
|
|
|
|
extern int lua_nfile;
|
|
|
|
|
|
|
|
|
1994-07-19 18:27:18 -03:00
|
|
|
void lua_initconstant (void);
|
1994-12-20 19:20:36 -02:00
|
|
|
Word luaI_findsymbolbyname (char *name);
|
|
|
|
Word luaI_findsymbol (TreeNode *t);
|
|
|
|
Word luaI_findconstant (TreeNode *t);
|
1995-10-13 12:16:25 -03:00
|
|
|
Word luaI_findconstantbyname (char *name);
|
1994-04-20 19:07:57 -03:00
|
|
|
void lua_travsymbol (void (*fn)(Object *));
|
|
|
|
void lua_markobject (Object *o);
|
|
|
|
void lua_pack (void);
|
1994-11-03 19:48:36 -02:00
|
|
|
char *lua_addfile (char *fn);
|
1994-04-20 19:07:57 -03:00
|
|
|
int lua_delfile (void);
|
|
|
|
char *lua_filename (void);
|
1993-07-28 10:18:00 -03:00
|
|
|
|
|
|
|
#endif
|