ObjFW  Diff

Differences From Artifact [d006ca7115]:

To Artifact [e35b534e34]:


21
22
23
24
25
26
27

28
29
30
31
32
33
34
#import "OFCountedSet.h"
#import "OFCountedSet_hashtable.h"
#import "OFNumber.h"
#import "OFString.h"
#import "OFXMLElement.h"

#import "autorelease.h"


static struct {
	Class isa;
} placeholder;

@interface OFCountedSet_placeholder: OFCountedSet
@end







>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#import "OFCountedSet.h"
#import "OFCountedSet_hashtable.h"
#import "OFNumber.h"
#import "OFString.h"
#import "OFXMLElement.h"

#import "autorelease.h"
#import "macros.h"

static struct {
	Class isa;
} placeholder;

@interface OFCountedSet_placeholder: OFCountedSet
@end
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109

- (void)release
{
}

- (void)dealloc
{
	[self doesNotRecognizeSelector: _cmd];
	abort();

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

@implementation OFCountedSet







|
<







95
96
97
98
99
100
101
102

103
104
105
106
107
108
109

- (void)release
{
}

- (void)dealloc
{
	OF_UNRECOGNIZED_SELECTOR


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

@implementation OFCountedSet
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
	}

	return [super init];
}

- (size_t)countForObject: (id)object
{
	[self doesNotRecognizeSelector: _cmd];
	abort();
}

- (OFString*)description
{
	OFMutableString *ret;
	void *pool;
	OFEnumerator *enumerator;







|
<







135
136
137
138
139
140
141
142

143
144
145
146
147
148
149
	}

	return [super init];
}

- (size_t)countForObject: (id)object
{
	OF_UNRECOGNIZED_SELECTOR

}

- (OFString*)description
{
	OFMutableString *ret;
	void *pool;
	OFEnumerator *enumerator;