aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-27 11:00:35 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-27 11:00:35 -0300
commit4c031966976a0ae5d24b709fe94e90dc3fbac9ef (patch)
tree81c5eed3687c5d258458bacc885f41309d4c3409
parent54633d7c7d720760bcf28c37438c9057c1e994d9 (diff)
downloadlua-4c031966976a0ae5d24b709fe94e90dc3fbac9ef.tar.gz
lua-4c031966976a0ae5d24b709fe94e90dc3fbac9ef.tar.bz2
lua-4c031966976a0ae5d24b709fe94e90dc3fbac9ef.zip
lua_setstate makes no sense with explicit multiple states
-rw-r--r--lua.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lua.h b/lua.h
index 3f72b5e3..bd3da809 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.43 1999/12/06 11:41:28 roberto Exp roberto $ 2** $Id: lua.h,v 1.44 1999/12/30 18:29:46 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -114,8 +114,6 @@ long lua_collectgarbage (lua_State *L, long limit);
114 114
115lua_Object lua_seterrormethod (lua_State *L); /* In: new method */ 115lua_Object lua_seterrormethod (lua_State *L); /* In: new method */
116 116
117lua_State *lua_setstate (lua_State *st);
118
119 117
120/* 118/*
121** =============================================================== 119** ===============================================================
@@ -159,7 +157,6 @@ extern lua_State *lua_state;
159#define lua_open() ((void)(lua_state?0:(lua_state=lua_newstate(NULL)))) 157#define lua_open() ((void)(lua_state?0:(lua_state=lua_newstate(NULL))))
160 158
161#define lua_close() (lua_close)(lua_state) 159#define lua_close() (lua_close)(lua_state)
162#define lua_setstate(st) (lua_setstate)(lua_state, st)
163#define lua_settagmethod(tag,event) (lua_settagmethod)(lua_state, tag,event) 160#define lua_settagmethod(tag,event) (lua_settagmethod)(lua_state, tag,event)
164#define lua_gettagmethod(tag,event) (lua_gettagmethod)(lua_state, tag,event) 161#define lua_gettagmethod(tag,event) (lua_gettagmethod)(lua_state, tag,event)
165#define lua_newtag() (lua_newtag)(lua_state) 162#define lua_newtag() (lua_newtag)(lua_state)