summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-06-11 03:34:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:57 -0500
commit182dd02ebe6e5a8e7dab20ae1ef18609b6697d3b (patch)
tree05d9821e93339d2c65bcb1f8646ed01e6e83cee5
parent0264c1792d951eb212490b1d89d4ba9a635931d5 (diff)
downloadsamba-182dd02ebe6e5a8e7dab20ae1ef18609b6697d3b.tar.gz
samba-182dd02ebe6e5a8e7dab20ae1ef18609b6697d3b.tar.bz2
samba-182dd02ebe6e5a8e7dab20ae1ef18609b6697d3b.zip
r7481: Add a mprVarIsPtr macro.
(This used to be commit 633b24345fecad1111f40999efa2897bba521f19)
-rw-r--r--source4/lib/ejs/var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ejs/var.h b/source4/lib/ejs/var.h
index c313e29544..4882aacf0f 100644
--- a/source4/lib/ejs/var.h
+++ b/source4/lib/ejs/var.h
@@ -139,6 +139,8 @@ typedef BLD_FEATURE_NUM_TYPE MprNum;
(type == MPR_TYPE_OBJECT)
#define mprVarIsFloating(type) \
(type == MPR_TYPE_FLOAT)
+#define mprVarIsPtr(type) \
+ (type == MPR_TYPE_PTR)
#define mprVarIsUndefined(var) \
((var)->type == MPR_TYPE_UNDEFINED)
#define mprVarIsNull(var) \