diff options
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ | |||
2 | ** LUA - Linguagem para Usuarios de Aplicacao | 2 | ** LUA - Linguagem para Usuarios de Aplicacao |
3 | ** Grupo de Tecnologia em Computacao Grafica | 3 | ** Grupo de Tecnologia em Computacao Grafica |
4 | ** TeCGraf - PUC-Rio | 4 | ** TeCGraf - PUC-Rio |
5 | ** $Id: lua.h,v 3.13 1994/12/16 15:55:55 roberto Exp roberto $ | 5 | ** $Id: lua.h,v 3.14 1994/12/28 12:55:47 roberto Exp celes $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | 8 | ||
@@ -92,7 +92,7 @@ lua_Object lua_createtable (void); | |||
92 | /* for lua 1.1 compatibility. Avoid using these macros */ | 92 | /* for lua 1.1 compatibility. Avoid using these macros */ |
93 | 93 | ||
94 | #define lua_getindexed(o,n) (lua_pushobject(o), lua_pushnumber(n), lua_getsubscript()) | 94 | #define lua_getindexed(o,n) (lua_pushobject(o), lua_pushnumber(n), lua_getsubscript()) |
95 | #define lua_getfield(o,f) (lua_pushobject(o), lua_pushstring(f), lua_getsubscript()) | 95 | #define lua_getfield(o,f) (lua_pushobject(o), lua_pushliteral(f), lua_getsubscript()) |
96 | 96 | ||
97 | #define lua_copystring(o) (strdup(lua_getstring(o))) | 97 | #define lua_copystring(o) (strdup(lua_getstring(o))) |
98 | 98 | ||