ObjFW  Diff

Differences From Artifact [69df15df8e]:

To Artifact [beb073a948]:


32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

struct of_dictionary_bucket of_dictionary_deleted_bucket = {};

#define BUCKET struct of_dictionary_bucket
#define DELETED &of_dictionary_deleted_bucket

@implementation OFDictionary
+ dictionary;
{
	return [[[self alloc] init] autorelease];
}

+ dictionaryWithDictionary: (OFDictionary*)dict
{
	return [[[self alloc] initWithDictionary: dict] autorelease];







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

struct of_dictionary_bucket of_dictionary_deleted_bucket = {};

#define BUCKET struct of_dictionary_bucket
#define DELETED &of_dictionary_deleted_bucket

@implementation OFDictionary
+ dictionary
{
	return [[[self alloc] init] autorelease];
}

+ dictionaryWithDictionary: (OFDictionary*)dict
{
	return [[[self alloc] initWithDictionary: dict] autorelease];
451
452
453
454
455
456
457

458
459
460
461
462
463
464
				[data[j]->object release];
			} @catch (id e) {
				[obj release];
				@throw e;
			}

			data[j]->object = obj;

		}
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;







>







451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
				[data[j]->object release];
			} @catch (id e) {
				[obj release];
				@throw e;
			}

			data[j]->object = obj;
			count--;
		}
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;