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 */