aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-08 16:32:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-08 16:32:53 -0300
commit11a70220670f25a9929439f0b27331f09f05235c (patch)
treec4a962b5a3e53ac6df8894fb3ad2248c4a1256cb /lstring.h
parent35a6ed283881f313152457f24cc6c677122d5058 (diff)
downloadlua-11a70220670f25a9929439f0b27331f09f05235c.tar.gz
lua-11a70220670f25a9929439f0b27331f09f05235c.tar.bz2
lua-11a70220670f25a9929439f0b27331f09f05235c.zip
global variables are stored in a Lua table
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lstring.h b/lstring.h
index 80aa0b8f..8e307292 100644
--- a/lstring.h
+++ b/lstring.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.h,v 1.17 2000/03/10 14:38:10 roberto Exp roberto $ 2** $Id: lstring.h,v 1.18 2000/03/10 18:37:44 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*/
@@ -18,7 +18,7 @@
18 18
19 19
20/* 20/*
21** any taggedstring with mark>=FIXMARK is never collected. 21** any TString with mark>=FIXMARK is never collected.
22** Marks>=RESERVEDMARK are used to identify reserved words. 22** Marks>=RESERVEDMARK are used to identify reserved words.
23*/ 23*/
24#define FIXMARK 2 24#define FIXMARK 2
@@ -33,9 +33,6 @@ void luaS_free (lua_State *L, TString *ts);
33TString *luaS_newlstr (lua_State *L, const char *str, long l); 33TString *luaS_newlstr (lua_State *L, const char *str, long l);
34TString *luaS_new (lua_State *L, const char *str); 34TString *luaS_new (lua_State *L, const char *str);
35TString *luaS_newfixed (lua_State *L, const char *str); 35TString *luaS_newfixed (lua_State *L, const char *str);
36GlobalVar *luaS_assertglobal (lua_State *L, TString *ts);
37GlobalVar *luaS_assertglobalbyname (lua_State *L, const char *name);
38int luaS_globaldefined (lua_State *L, const char *name);
39 36
40 37
41#endif 38#endif