From 6251d889ca96dc9c3219f5908b706cd4ca053259 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 15 Apr 1997 13:52:20 -0300 Subject: [PATCH] missing definition of "lua_storesubscript", for compatibility --- lua.h | 8 +++++--- 1 file 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 @@ ** LUA - An Extensible Extension Language ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil ** e-mail: lua@tecgraf.puc-rio.br -** $Id: lua.h,v 4.1 1997/04/03 18:26:08 roberto Exp roberto $ +** $Id: lua.h,v 4.2 1997/04/04 22:24:51 roberto Exp roberto $ */ @@ -99,8 +99,8 @@ lua_Object lua_createtable (void); lua_Object lua_setfallback (char *event, lua_CFunction fallback); -#define lua_storeglobal(n) lua_setglobal(n) -#define lua_type(o) (lua_tag(o)) +#define lua_storeglobal lua_setglobal +#define lua_type lua_tag void *lua_getuserdata (lua_Object object); @@ -118,4 +118,6 @@ void *lua_getuserdata (lua_Object object); #define lua_copystring(o) (strdup(lua_getstring(o))) #define lua_getsubscript lua_gettable +#define lua_storesubscript lua_settable + #endif