diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-05-31 15:27:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-05-31 15:27:56 -0300 |
commit | 821bd7025ea7ecf399e0b50f920a460b11c649c7 (patch) | |
tree | 98cd8aa59a2cc80b6d52b164cebcb2a46b457f4a /lvm.h | |
parent | 9b7dddad7d3f4546f838834d9674eaf0f2fca3dd (diff) | |
download | lua-821bd7025ea7ecf399e0b50f920a460b11c649c7.tar.gz lua-821bd7025ea7ecf399e0b50f920a460b11c649c7.tar.bz2 lua-821bd7025ea7ecf399e0b50f920a460b11c649c7.zip |
more uniform names for 'equalobj'-related functions
Diffstat (limited to '')
-rw-r--r-- | lvm.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.h,v 2.15 2011/04/05 18:32:06 roberto Exp roberto $ | 2 | ** $Id: lvm.h,v 2.16 2011/05/31 18:24:36 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -17,14 +17,14 @@ | |||
17 | 17 | ||
18 | #define tonumber(o,n) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL)) | 18 | #define tonumber(o,n) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL)) |
19 | 19 | ||
20 | #define equalobj(L,o1,o2) (ttisequal(o1, o2) && luaV_equalval_(L, o1, o2)) | 20 | #define equalobj(L,o1,o2) (ttisequal(o1, o2) && luaV_equalobj_(L, o1, o2)) |
21 | 21 | ||
22 | #define luaV_rawequalObj(t1,t2) \ | 22 | #define luaV_rawequalobj(t1,t2) \ |
23 | (ttisequal(t1,t2) && luaV_equalval_(NULL,t1,t2)) | 23 | (ttisequal(t1,t2) && luaV_equalobj_(NULL,t1,t2)) |
24 | 24 | ||
25 | 25 | ||
26 | /* not to called directly */ | 26 | /* not to called directly */ |
27 | LUAI_FUNC int luaV_equalval_ (lua_State *L, const TValue *t1, const TValue *t2); | 27 | LUAI_FUNC int luaV_equalobj_ (lua_State *L, const TValue *t1, const TValue *t2); |
28 | 28 | ||
29 | 29 | ||
30 | LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); | 30 | LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); |