table.h 716 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. ** Module to control static tables
  3. ** TeCGraf - PUC-Rio
  4. ** $Id: table.h,v 2.6 1994/11/16 16:03:48 roberto Exp roberto $
  5. */
  6. #ifndef table_h
  7. #define table_h
  8. #include "tree.h"
  9. extern Symbol *lua_table;
  10. extern char **lua_constant;
  11. extern char *lua_file[];
  12. extern int lua_nfile;
  13. void lua_initconstant (void);
  14. int luaI_findsymbolbyname (char *name);
  15. int luaI_findsymbol (TreeNode *t);
  16. int luaI_findconstant (TreeNode *t);
  17. void lua_travsymbol (void (*fn)(Object *));
  18. void lua_markobject (Object *o);
  19. void lua_pack (void);
  20. char *lua_createstring (char *s);
  21. char *lua_addfile (char *fn);
  22. int lua_delfile (void);
  23. char *lua_filename (void);
  24. #endif