* Worked around compiler warnings in Test.h when building for iPhone.
* Made Mercurial ignore the documentation files.
1.1 --- a/.hgignore Sat May 24 13:24:33 2008 -0700
1.2 +++ b/.hgignore Sat May 31 11:26:17 2008 -0700
1.3 @@ -1,6 +1,8 @@
1.4 syntax: glob
1.5 .DS_Store
1.6 build
1.7 +Documentation
1.8 +Doxyfile
1.9 .svn
1.10 *.pbxuser
1.11 *.perspectivev3
2.1 --- a/Test.h Sat May 24 13:24:33 2008 -0700
2.2 +++ b/Test.h Sat May 31 11:26:17 2008 -0700
2.3 @@ -59,7 +59,7 @@
2.4 /** General-purpose assertions, replacing NSAssert etc.. You can use these outside test cases. */
2.5
2.6 #define Assert(COND,MSG...) do{ if( __builtin_expect(!(COND),NO) ) { \
2.7 - IN_SEGMENT_NORETURN(Logging) {_AssertFailed(self,(const char*)_cmd, __FILE__, __LINE__,\
2.8 + IN_SEGMENT_NORETURN(Logging) {_AssertFailed(self,_cmd, __FILE__, __LINE__,\
2.9 #COND,##MSG,NULL);} } }while(0)
2.10 #define CAssert(COND,MSG...) do{ if( __builtin_expect(!(COND),NO) ) { \
2.11 static const char *_name = __PRETTY_FUNCTION__;\
2.12 @@ -90,5 +90,5 @@
2.13 struct TestCaseLink {void (*testptr)(); const char *name; BOOL passed; struct TestCaseLink *next;};
2.14 extern struct TestCaseLink *gAllTestCases;
2.15 #endif DEBUG
2.16 -void _AssertFailed( id rcvr, const char *selOrFn, const char *sourceFile, int sourceLine,
2.17 +void _AssertFailed( id rcvr, const void *selOrFn, const char *sourceFile, int sourceLine,
2.18 const char *condString, NSString *message, ... ) __attribute__((noreturn));
3.1 --- a/Test.m Sat May 24 13:24:33 2008 -0700
3.2 +++ b/Test.m Sat May 31 11:26:17 2008 -0700
3.3 @@ -125,7 +125,7 @@
3.4 #pragma mark ASSERTION FAILURE HANDLER:
3.5
3.6
3.7 -void _AssertFailed( id rcvr, const char *selOrFn, const char *sourceFile, int sourceLine,
3.8 +void _AssertFailed( id rcvr, const void *selOrFn, const char *sourceFile, int sourceLine,
3.9 const char *condString, NSString *message, ... )
3.10 {
3.11 if( message ) {