diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-06 13:54:42 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-06 13:54:42 -0300 |
commit | 88a2023c3285c4514519158fba90e644fc6ffca3 (patch) | |
tree | da6611257545c486ff856dd48d66d94e056f3d66 /lstring.h | |
parent | 5ef1989c4b05aff8362a7ea6ba62aad76d4a040d (diff) | |
download | lua-88a2023c3285c4514519158fba90e644fc6ffca3.tar.gz lua-88a2023c3285c4514519158fba90e644fc6ffca3.tar.bz2 lua-88a2023c3285c4514519158fba90e644fc6ffca3.zip |
support for strings with '\0'
Diffstat (limited to 'lstring.h')
-rw-r--r-- | lstring.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstring.h,v 1.5 1997/11/26 18:53:45 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.6 1997/12/01 20:31:25 roberto Exp roberto $ |
3 | ** String table (keep all strings handled by Lua) | 3 | ** String table (keep all strings handled by Lua) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -15,6 +15,7 @@ void luaS_init (void); | |||
15 | TaggedString *luaS_createudata (void *udata, int tag); | 15 | TaggedString *luaS_createudata (void *udata, int tag); |
16 | TaggedString *luaS_collector (void); | 16 | TaggedString *luaS_collector (void); |
17 | void luaS_free (TaggedString *l); | 17 | void luaS_free (TaggedString *l); |
18 | TaggedString *luaS_newlstr (char *str, long l); | ||
18 | TaggedString *luaS_new (char *str); | 19 | TaggedString *luaS_new (char *str); |
19 | TaggedString *luaS_newfixedstring (char *str); | 20 | TaggedString *luaS_newfixedstring (char *str); |
20 | void luaS_rawsetglobal (TaggedString *ts, TObject *newval); | 21 | void luaS_rawsetglobal (TaggedString *ts, TObject *newval); |