diff options
| author | Lua Team <team@lua.org> | 1998-07-11 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 1998-07-11 12:00:00 +0000 |
| commit | 377347776f1f3d820f92151f70bec667f96d5e6b (patch) | |
| tree | cdb3ba26158df33547dfe765547177afcee119d1 /src/lstring.h | |
| parent | 4f8c5d0f284e1f4da717aea5008915f185cd2e05 (diff) | |
| download | lua-github-3.1.tar.gz | |
Lua 3.13.1
Diffstat (limited to 'src/lstring.h')
| -rw-r--r-- | src/lstring.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lstring.h b/src/lstring.h new file mode 100644 index 00000000..6b214a21 --- /dev/null +++ b/src/lstring.h @@ -0,0 +1,28 @@ +/* +** $Id: lstring.h,v 1.7 1998/03/06 16:54:42 roberto Exp $ +** String table (keep all strings handled by Lua) +** See Copyright Notice in lua.h +*/ + +#ifndef lstring_h +#define lstring_h + + +#include "lobject.h" + + +void luaS_init (void); +TaggedString *luaS_createudata (void *udata, int tag); +TaggedString *luaS_collector (void); +void luaS_free (TaggedString *l); +TaggedString *luaS_newlstr (char *str, long l); +TaggedString *luaS_new (char *str); +TaggedString *luaS_newfixedstring (char *str); +void luaS_rawsetglobal (TaggedString *ts, TObject *newval); +char *luaS_travsymbol (int (*fn)(TObject *)); +int luaS_globaldefined (char *name); +TaggedString *luaS_collectudata (void); +void luaS_freeall (void); + + +#endif |
