lstring.h 638 B

12345678910111213141516171819202122232425
  1. /*
  2. ** $Id: lstring.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $
  3. ** String table (keep all strings handled by Lua)
  4. ** See Copyright Notice in lua.h
  5. */
  6. #ifndef lstring_h
  7. #define lstring_h
  8. #include "lobject.h"
  9. extern GCnode luaS_root;
  10. TaggedString *luaS_createudata (void *udata, int tag);
  11. TaggedString *luaS_collector (void);
  12. void luaS_free (TaggedString *l);
  13. void luaS_callIM (TaggedString *l);
  14. TaggedString *luaS_new (char *str);
  15. TaggedString *luaS_newfixedstring (char *str);
  16. void luaS_rawsetglobal (TaggedString *ts, TObject *newval);
  17. char *luaS_travsymbol (int (*fn)(TObject *));
  18. int luaS_globaldefined (char *name);
  19. #endif