aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-29 17:11:36 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-29 17:11:36 -0200
commit49af08e3e7d1b8e369567f241d06eb6933fd6518 (patch)
tree0551ba7c4e2404c1fc124bdd4f86b6deea9ae62f /lua.h
parentc5fa0895e98a3e915f01003f8ae29cde31243cc8 (diff)
downloadlua-49af08e3e7d1b8e369567f241d06eb6933fd6518.tar.gz
lua-49af08e3e7d1b8e369567f241d06eb6933fd6518.tar.bz2
lua-49af08e3e7d1b8e369567f241d06eb6933fd6518.zip
new name for lua_equal(obj); LUA_NOOBJECT is equal to LUA_NOOBJECT
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 28ed9d38..8a84fa05 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.38 1999/11/22 13:12:07 roberto Exp roberto $ 2** $Id: lua.h,v 1.39 1999/11/25 18:44:02 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -66,7 +66,7 @@ int lua_isnumber (lua_State *L, lua_Object object);
66int lua_isstring (lua_State *L, lua_Object object); 66int lua_isstring (lua_State *L, lua_Object object);
67int lua_isfunction (lua_State *L, lua_Object object); 67int lua_isfunction (lua_State *L, lua_Object object);
68 68
69int lua_equalobj (lua_State *L, lua_Object o1, lua_Object o2); 69int lua_equal (lua_State *L, lua_Object o1, lua_Object o2);
70 70
71double lua_getnumber (lua_State *L, lua_Object object); 71double lua_getnumber (lua_State *L, lua_Object object);
72const char *lua_getstring (lua_State *L, lua_Object object); 72const char *lua_getstring (lua_State *L, lua_Object object);
@@ -179,7 +179,7 @@ extern lua_State *lua_state;
179#define lua_isnumber(object) (lua_isnumber)(lua_state, object) 179#define lua_isnumber(object) (lua_isnumber)(lua_state, object)
180#define lua_isstring(object) (lua_isstring)(lua_state, object) 180#define lua_isstring(object) (lua_isstring)(lua_state, object)
181#define lua_isfunction(object) (lua_isfunction)(lua_state, object) 181#define lua_isfunction(object) (lua_isfunction)(lua_state, object)
182#define lua_equalobj(o1,o2) (lua_equalobj)(lua_state, o1,o2) 182#define lua_equal(o1,o2) (lua_equal)(lua_state, o1,o2)
183#define lua_getnumber(object) (lua_getnumber)(lua_state, object) 183#define lua_getnumber(object) (lua_getnumber)(lua_state, object)
184#define lua_getstring(object) (lua_getstring)(lua_state, object) 184#define lua_getstring(object) (lua_getstring)(lua_state, object)
185#define lua_strlen(object) (lua_strlen)(lua_state, object) 185#define lua_strlen(object) (lua_strlen)(lua_state, object)