1997-09-16 23:25:59 +04:00
|
|
|
/*
|
1997-11-26 21:53:45 +03:00
|
|
|
** $Id: lstring.h,v 1.4 1997/11/19 17:29:23 roberto Exp roberto $
|
1997-09-16 23:25:59 +04:00
|
|
|
** String table (keep all strings handled by Lua)
|
|
|
|
** See Copyright Notice in lua.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef lstring_h
|
|
|
|
#define lstring_h
|
|
|
|
|
|
|
|
|
|
|
|
#include "lobject.h"
|
|
|
|
|
1997-11-04 18:27:53 +03:00
|
|
|
|
|
|
|
void luaS_init (void);
|
1997-09-16 23:25:59 +04:00
|
|
|
TaggedString *luaS_createudata (void *udata, int tag);
|
|
|
|
TaggedString *luaS_collector (void);
|
|
|
|
void luaS_free (TaggedString *l);
|
|
|
|
TaggedString *luaS_new (char *str);
|
|
|
|
TaggedString *luaS_newfixedstring (char *str);
|
1997-09-26 19:02:26 +04:00
|
|
|
void luaS_rawsetglobal (TaggedString *ts, TObject *newval);
|
|
|
|
char *luaS_travsymbol (int (*fn)(TObject *));
|
|
|
|
int luaS_globaldefined (char *name);
|
1997-09-16 23:25:59 +04:00
|
|
|
|
|
|
|
#endif
|