ObjFW  Diff

Differences From Artifact [469bfd7104]:

To Artifact [fdbe044d7b]:


12
13
14
15
16
17
18


19
20
21
22
23
24
25
26
27
28
29
30
31
12
13
14
15
16
17
18
19
20
21
22
23
24
25

26
27
28
29
30
31
32







+
+





-







 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#include <stdlib.h>

#import "OFNull.h"
#import "OFString.h"
#import "OFXMLElement.h"

#import "OFInvalidArgumentException.h"
#import "OFNotImplementedException.h"

#import "autorelease.h"

static OFNull *null = nil;

@implementation OFNull
+ (void)initialize
104
105
106
107
108
109
110
111
112
113





114
115
105
106
107
108
109
110
111



112
113
114
115
116
117
118







-
-
-
+
+
+
+
+


- (unsigned int)retainCount
{
	return OF_RETAIN_COUNT_MAX;
}

- (void)dealloc
{
	@throw [OFNotImplementedException exceptionWithClass: [self class]
						    selector: _cmd];
	[super dealloc];	/* Get rid of a stupid warning */
	[self doesNotRecognizeSelector: _cmd];
	abort();

	/* Get rid of a stupid warning */
	[super dealloc];
}
@end