aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMSenTestCase.h
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-05-29 14:15:15 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-05-29 14:15:15 +0000
commite064312efdb84666b742e2b63d7d80faf7eeffbd (patch)
tree6b11dd9d95abfaf8a230f3bb879b32edad3ca7e7 /UnitTesting/GTMSenTestCase.h
parent24abe2a706c0d876a676500a3bb0a777d6e36a8c (diff)
[Author: gianno]
Allow inclusion of GTMSenTestCase from objective-C++ classes. R=dmaclach,thomasvl DELTA=7 (7 added, 0 deleted, 0 changed)
Diffstat (limited to 'UnitTesting/GTMSenTestCase.h')
-rw-r--r--UnitTesting/GTMSenTestCase.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/UnitTesting/GTMSenTestCase.h b/UnitTesting/GTMSenTestCase.h
index 1d35591..8d72a48 100644
--- a/UnitTesting/GTMSenTestCase.h
+++ b/UnitTesting/GTMSenTestCase.h
@@ -57,9 +57,16 @@
#import <SenTestingKit/SenTestingKit.h>
#else
#import <Foundation/Foundation.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
NSString *STComposeString(NSString *, ...);
+#ifdef __cplusplus
+}
#endif
+#endif // !GTM_IPHONE_SDK
+
// Generates a failure when a1 != noErr
// Args:
// a1: should be either an OSErr or an OSStatus