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.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) |
