-
Notifications
You must be signed in to change notification settings - Fork 395
/
NSNull.h
executable file
·55 lines (41 loc) · 1.08 KB
/
NSNull.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// NSNull.m
//
// Written by Doug McClure
//
// Copyright 2002-2004 by Don Yacktman and Doug McClure.
// All rights reserved.
//
// This notice may not be removed from this source code.
//
// This header is included in the MiscKit by permission from the author
// and its use is governed by the MiscKit license, found in the file
// "License.rtf" in the MiscKit distribution. Please refer to that file
// for a list of all applicable permissions and restrictions.
//
#import <Foundation/NSObject.h>
#if defined(NSFoundationVersionNumber10_0) || defined(GNUSTEP)
#define HAVE_NSNULL 1
#endif
#if HAVE_NSNULL
#import <Foundation/NSNull.h>
#else
@interface NSNull : NSObject
{
}
+ (NSNull *)null;
+ (id)allocWithZone:(NSZone *)zone;
- (void)dealloc;
- (id)description;
- (id)retain;
- (oneway void)release;
- (id)autorelease;
- (unsigned)retainCount;
- (id)copyWithZone:(NSZone *)zone;
- (id)copy;
- (void)encodeWithCoder:(NSCoder *)aCoder;
- (id)initWithCoder:(NSCoder *)aDecoder;
- (id)replacementObjectForCoder:(NSCoder *)aCoder;
- (id)valueForKey:(NSString *)key;
@end
#endif