ObjFW  Diff

Differences From Artifact [cbd581ad22]:

To Artifact [a8904a350c]:


45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
		[super dealloc];
		@throw [OFInvalidArgumentException newWithClass: c
						    andSelector: _cmd];
	}

	data = NULL;
	itemsize = is;
	count = 0;

	return self;
}

- (size_t)count
{
	return count;







<







45
46
47
48
49
50
51

52
53
54
55
56
57
58
		[super dealloc];
		@throw [OFInvalidArgumentException newWithClass: c
						    andSelector: _cmd];
	}

	data = NULL;
	itemsize = is;


	return self;
}

- (size_t)count
{
	return count;
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
@implementation OFBigDataArray
- initWithItemSize: (size_t)is
{
	self = [super initWithItemSize: is];

	if (lastpagebyte == 0)
		lastpagebyte = getpagesize() - 1;
	size = 0;

	return self;
}

- add: (void*)item
{
	size_t nsize;







<







190
191
192
193
194
195
196

197
198
199
200
201
202
203
@implementation OFBigDataArray
- initWithItemSize: (size_t)is
{
	self = [super initWithItemSize: is];

	if (lastpagebyte == 0)
		lastpagebyte = getpagesize() - 1;


	return self;
}

- add: (void*)item
{
	size_t nsize;