table.h 820 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. ** table.c
  3. ** Module to control static tables
  4. ** TeCGraf - PUC-Rio
  5. ** 11 May 93
  6. */
  7. #ifndef table_h
  8. #define table_h
  9. extern Symbol *lua_table;
  10. extern Word lua_ntable;
  11. extern char **lua_constant;
  12. extern Word lua_nconstant;
  13. extern char **lua_string;
  14. extern Word lua_nstring;
  15. extern Hash **lua_array;
  16. extern Word lua_narray;
  17. extern char *lua_file[];
  18. extern int lua_nfile;
  19. #define lua_markstring(s) (*((s)-1))
  20. int lua_findsymbol (char *s);
  21. int lua_findenclosedconstant (char *s);
  22. int lua_findconstant (char *s);
  23. void lua_markobject (Object *o);
  24. char *lua_createstring (char *s);
  25. void *lua_createarray (void *a);
  26. int lua_addfile (char *fn);
  27. char *lua_filename (void);
  28. void lua_nextvar (void);
  29. #endif