diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-17 19:27:30 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-17 19:27:30 -0200 |
commit | feed56a01ccb9ca99271e0feca79f71aa5c38f8e (patch) | |
tree | f65a03752e63aa4c166ec1d54617f813c5a07139 | |
parent | 1929ddcf49b948ed8082cd375f7f7bf0b8a15bee (diff) | |
download | lua-feed56a01ccb9ca99271e0feca79f71aa5c38f8e.tar.gz lua-feed56a01ccb9ca99271e0feca79f71aa5c38f8e.tar.bz2 lua-feed56a01ccb9ca99271e0feca79f71aa5c38f8e.zip |
small correction
-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.8 1994/11/17 16:41:42 roberto Exp roberto $ | 5 | ** $Id: lua.h,v 3.9 1994/11/17 21:23:43 roberto Exp roberto $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | 8 | ||
@@ -76,7 +76,7 @@ lua_Object lua_createTable (int initSize); | |||
76 | #define lua_getindexed(o,n) (lua_pushobject(o), lua_pushnumber(n), lua_getsubscript()) | 76 | #define lua_getindexed(o,n) (lua_pushobject(o), lua_pushnumber(n), lua_getsubscript()) |
77 | #define lua_getfield(o,f) (lua_pushobject(o), lua_pushstring(f), lua_getsubscript()) | 77 | #define lua_getfield(o,f) (lua_pushobject(o), lua_pushstring(f), lua_getsubscript()) |
78 | 78 | ||
79 | #define lua_pushuserdata(u) lua_pushusertag(u,LUA_USERDATA) | 79 | #define lua_pushuserdata(u) lua_pushusertag(u, LUA_T_USERDATA) |
80 | 80 | ||
81 | #define lua_isnil(_) (lua_type(_)==LUA_T_NIL) | 81 | #define lua_isnil(_) (lua_type(_)==LUA_T_NIL) |
82 | #define lua_isnumber(_) (lua_type(_)==LUA_T_NUMBER) | 82 | #define lua_isnumber(_) (lua_type(_)==LUA_T_NUMBER) |