lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 6251d889ca96dc9c3219f5908b706cd4ca053259
parent faec0b082457ea39fe1930a17dd55e2bff8db468
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue, 15 Apr 1997 13:52:00 -0300

missing definition of "lua_storesubscript", for compatibility

Diffstat:
Mlua.h | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 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