OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/internal.h versions 1.7 and 1.7.2.1
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/internal.h 1.7 -> 1.7.2.1

--- internal.h   2001/07/31 15:27:45     1.7
+++ internal.h   2001/08/01 09:55:58     1.7.2.1
@@ -66,4 +66,12 @@
 extern const char xds_xml_begin_text[];
 extern const char xds_xml_end_text[];
 
+#define xds_check_parameter(condition)    \
+    do                                    \
+    {                                     \
+    assert(condition);                    \
+    if (!(condition))                     \
+        return XDS_ERR_INVALID_ARG;       \
+    } while(XDS_FALSE)
+
 #endif /* !defined(__INTERNAL_H__) */

CVSTrac 2.0.1