diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.57 1999/11/22 13:12:07 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.58 1999/11/23 13:58:02 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -240,8 +240,8 @@ int lua_isfunction (lua_State *L, lua_Object o) { | |||
240 | return (t == LUA_T_PROTO) || (t == LUA_T_CPROTO); | 240 | return (t == LUA_T_PROTO) || (t == LUA_T_CPROTO); |
241 | } | 241 | } |
242 | 242 | ||
243 | int lua_equalobj (lua_State *L, lua_Object o1, lua_Object o2) { | 243 | int lua_equal(lua_State *L, lua_Object o1, lua_Object o2) { |
244 | if (o1 == LUA_NOOBJECT || o2 == LUA_NOOBJECT) return 0; | 244 | if (o1 == LUA_NOOBJECT || o2 == LUA_NOOBJECT) return (o1 == o2); |
245 | else return luaO_equalObj(Address(L, o1), Address(L, o2)); | 245 | else return luaO_equalObj(Address(L, o1), Address(L, o2)); |
246 | } | 246 | } |
247 | 247 | ||