summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorWaldemar Celes <celes@tecgraf.puc-rio.br>1995-01-18 18:15:05 -0200
committerWaldemar Celes <celes@tecgraf.puc-rio.br>1995-01-18 18:15:05 -0200
commit97053335fb14b1340e078fb0f87564429667ac84 (patch)
tree35510b80192e5de0a632f2ecb97884cdd938cc64 /lua.h
parentf4591397da8444d1917a67a34cb6a6ac8137385e (diff)
downloadlua-github-97053335fb14b1340e078fb0f87564429667ac84.tar.gz
Trocar 'pushstring' por 'pushliteral' na macro 'getfield'.
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index dd368d67..0f1eb179 100644
--- a/lua.h
+++ b/lua.h
@@ -2,7 +2,7 @@
** LUA - Linguagem para Usuarios de Aplicacao
** Grupo de Tecnologia em Computacao Grafica
** TeCGraf - PUC-Rio
-** $Id: lua.h,v 3.13 1994/12/16 15:55:55 roberto Exp roberto $
+** $Id: lua.h,v 3.14 1994/12/28 12:55:47 roberto Exp celes $
*/
@@ -92,7 +92,7 @@ lua_Object lua_createtable (void);
/* for lua 1.1 compatibility. Avoid using these macros */
#define lua_getindexed(o,n) (lua_pushobject(o), lua_pushnumber(n), lua_getsubscript())
-#define lua_getfield(o,f) (lua_pushobject(o), lua_pushstring(f), lua_getsubscript())
+#define lua_getfield(o,f) (lua_pushobject(o), lua_pushliteral(f), lua_getsubscript())
#define lua_copystring(o) (strdup(lua_getstring(o)))