develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34721 - trunk/include/parrot

From:
infinoid
Date:
December 31, 2008 11:19
Subject:
[svn:parrot] r34721 - trunk/include/parrot
Message ID:
20081231191951.C3A0DCBA08@x12.develooper.com
Author: infinoid
Date: Wed Dec 31 11:19:51 2008
New Revision: 34721

Modified:
   trunk/include/parrot/exceptions.h

Log:
[core] Add an ASSERT_ARGS() helper macro for the headerizer asserts.

Modified: trunk/include/parrot/exceptions.h
==============================================================================
--- trunk/include/parrot/exceptions.h	(original)
+++ trunk/include/parrot/exceptions.h	Wed Dec 31 11:19:51 2008
@@ -259,6 +259,8 @@
 #  define PARROT_ASSERT(x) (x) ? ((void)0) : Parrot_confess(#x, __FILE__, __LINE__)
 #endif
 
+#define ASSERT_ARGS(a) ASSERT_ARGS_ ## a
+
 
 #endif /* PARROT_EXCEPTIONS_H_GUARD */
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About