ObjFW  Diff

Differences From Artifact [d2501929a2]:

To Artifact [418c7f3f73]:


20
21
22
23
24
25
26

27
28
29
30
31
32
33
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34







+








#include <assert.h>

#import "OFMutableSet.h"
#import "OFMutableSet_hashtable.h"

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

static struct {
	Class isa;
} placeholder;

@interface OFMutableSet_placeholder: OFMutableSet
@end
93
94
95
96
97
98
99
100

101
102
103
104
105
106
107
108
94
95
96
97
98
99
100

101

102
103
104
105
106
107
108







-
+
-








- (void)release
{
}

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

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

@implementation OFMutableSet
133
134
135
136
137
138
139
140

141
142
143
144
145
146

147
148
149
150
151
152
153
154
133
134
135
136
137
138
139

140

141
142
143
144

145

146
147
148
149
150
151
152







-
+
-




-
+
-







	}

	return [super init];
}

- (void)addObject: (id)object
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void)removeObject: (id)object
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void)minusSet: (OFSet*)set
{
	void *pool = objc_autoreleasePoolPush();
	OFEnumerator *enumerator = [set objectEnumerator];
	id object;