aboutsummaryrefslogtreecommitdiff
path: root/lvm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lvm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lvm.h b/lvm.h
index 23e50798..8e61cf34 100644
--- a/lvm.h
+++ b/lvm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.h,v 2.13 2009/11/19 19:04:58 roberto Exp roberto $ 2** $Id: lvm.h,v 2.14 2009/12/17 16:20:01 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,8 +17,7 @@
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) \ 20#define equalobj(L,o1,o2) (ttisequal(o1, o2) && luaV_equalval_(L, o1, o2))
21 (ttype(o1) == ttype(o2) && luaV_equalval_(L, o1, o2))
22 21
23 22
24/* not to called directly */ 23/* not to called directly */