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