From cde179b36979c58d9380d3c4dd29b61412d13b51 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 4 Nov 1999 15:23:12 -0200 Subject: new implementation for global variable values (separated from strings) --- lstring.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lstring.h') diff --git a/lstring.h b/lstring.h index df0f079d..d39e1d27 100644 --- a/lstring.h +++ b/lstring.h @@ -1,5 +1,5 @@ /* -** $Id: lstring.h,v 1.10 1999/10/11 16:13:11 roberto Exp roberto $ +** $Id: lstring.h,v 1.11 1999/10/14 19:13:31 roberto Exp roberto $ ** String table (keep all strings handled by Lua) ** See Copyright Notice in lua.h */ @@ -33,7 +33,8 @@ void luaS_free (TaggedString *ts); TaggedString *luaS_newlstr (const char *str, long l); TaggedString *luaS_new (const char *str); TaggedString *luaS_newfixedstring (const char *str); -void luaS_rawsetglobal (TaggedString *ts, const TObject *newval); +GlobalVar *luaS_assertglobal (TaggedString *ts); +GlobalVar *luaS_assertglobalbyname (const char *name); int luaS_globaldefined (const char *name); -- cgit v1.2.3-55-g6feb