aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-04-15 13:52:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-04-15 13:52:20 -0300
commit6251d889ca96dc9c3219f5908b706cd4ca053259 (patch)
tree7a856401ea34116470d72d4d8fd2d44416805e82
parentfaec0b082457ea39fe1930a17dd55e2bff8db468 (diff)
downloadlua-6251d889ca96dc9c3219f5908b706cd4ca053259.tar.gz
lua-6251d889ca96dc9c3219f5908b706cd4ca053259.tar.bz2
lua-6251d889ca96dc9c3219f5908b706cd4ca053259.zip
missing definition of "lua_storesubscript", for compatibility
-rw-r--r--lua.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 4ef9f60c..f5bbf008 100644
--- a/lua.h
+++ b/lua.h
@@ -2,7 +2,7 @@
2** LUA - An Extensible Extension Language 2** LUA - An Extensible Extension Language
3** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 3** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
4** e-mail: lua@tecgraf.puc-rio.br 4** e-mail: lua@tecgraf.puc-rio.br
5** $Id: lua.h,v 4.1 1997/04/03 18:26:08 roberto Exp roberto $ 5** $Id: lua.h,v 4.2 1997/04/04 22:24:51 roberto Exp roberto $
6*/ 6*/
7 7
8 8
@@ -99,8 +99,8 @@ lua_Object lua_createtable (void);
99 99
100lua_Object lua_setfallback (char *event, lua_CFunction fallback); 100lua_Object lua_setfallback (char *event, lua_CFunction fallback);
101 101
102#define lua_storeglobal(n) lua_setglobal(n) 102#define lua_storeglobal lua_setglobal
103#define lua_type(o) (lua_tag(o)) 103#define lua_type lua_tag
104 104
105void *lua_getuserdata (lua_Object object); 105void *lua_getuserdata (lua_Object object);
106 106
@@ -118,4 +118,6 @@ void *lua_getuserdata (lua_Object object);
118#define lua_copystring(o) (strdup(lua_getstring(o))) 118#define lua_copystring(o) (strdup(lua_getstring(o)))
119 119
120#define lua_getsubscript lua_gettable 120#define lua_getsubscript lua_gettable
121#define lua_storesubscript lua_settable
122
121#endif 123#endif