svn commit: samba r7481 - in branches/SAMBA_4_0/source/lib/ejs: .

tpot at samba.org tpot at samba.org
Sat Jun 11 03:34:11 GMT 2005


Author: tpot
Date: 2005-06-11 03:34:11 +0000 (Sat, 11 Jun 2005)
New Revision: 7481

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7481

Log:
Add a mprVarIsPtr macro.

Modified:
   branches/SAMBA_4_0/source/lib/ejs/var.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ejs/var.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ejs/var.h	2005-06-11 03:20:26 UTC (rev 7480)
+++ branches/SAMBA_4_0/source/lib/ejs/var.h	2005-06-11 03:34:11 UTC (rev 7481)
@@ -139,6 +139,8 @@
 	(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) \



More information about the samba-cvs mailing list