vvopensource
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Groups
Pages
VVBasics
src
VVAssertionHandler.h
1
2
#if IPHONE
3
#import <UIKit/UIKit.h>
4
#else
5
#import <Cocoa/Cocoa.h>
6
#endif
7
8
9
10
11
#define USE_CUSTOM_ASSERTION_HANDLER \
12
{ \
13
NSThread *__currentThread = [NSThread currentThread]; \
14
NSDictionary *__threadDict = (__currentThread==nil) ? nil : [__currentThread threadDictionary]; \
15
if (__threadDict != nil) { \
16
VVAssertionHandler *__newAH = [[VVAssertionHandler alloc] init]; \
17
if (__newAH != nil) { \
18
[__threadDict setValue:__newAH forKey:@"NSAssertionHandler"]; \
19
[__newAH release]; \
20
__newAH = nil; \
21
} \
22
} \
23
}
24
25
26
27
@interface
VVAssertionHandler : NSAssertionHandler {
28
29
}
30
31
@end
Generated on Fri Aug 1 2014 14:26:12 for vvopensource by
1.8.7