Browse files

Published the object helper functions since they’re useful for integr…

…ating Polymorph objects.
  • Loading branch information...
1 parent e778dc4 commit 6fa75dea9f6e8faa3586b4719617d1d3cf913138 @robrix committed May 18, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 RXAssertions.h
@@ -54,6 +54,11 @@ typedef BOOL (*RXAssertionHelperComparisonFunction)(const void *aRef, const void
typedef NSString *(*RXAssertionHelperDescriptionFunction)(const void *ref);
+// making these functions available for registering Polymorph types
+BOOL RXAssertionHelperObjectComparison(const void *a, const void *b);
+NSString *RXAssertionHelperObjectDescription(const void *ref);
@interface RXAssertionHelper : NSObject
+(void)registerComparisonFunction:(RXAssertionHelperComparisonFunction)comparator forObjCType:(const char *)type;

0 comments on commit 6fa75de

Please sign in to comment.