ObjFW  Diff

Differences From Artifact [fc654f7782]:

To Artifact [af933f0dd2]:


145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
	self = [super init];

	@try {
		uint32_t i;
		BUCKET *b;

		if (key == nil || object == nil)
			@throw [OFInvalidArgumentException newWithClass: isa
							       selector: _cmd];

		data = [self allocMemoryForNItems: 2
					 withSize: sizeof(BUCKET*)];

		size = 2;







|







145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
	self = [super init];

	@try {
		uint32_t i;
		BUCKET *b;

		if (key == nil || obj == nil)
			@throw [OFInvalidArgumentException newWithClass: isa
							       selector: _cmd];

		data = [self allocMemoryForNItems: 2
					 withSize: sizeof(BUCKET*)];

		size = 2;