ObjFW  Diff

Differences From Artifact [5b2194bc15]:

To Artifact [ea5c3825ad]:


20
21
22
23
24
25
26
27

28
29






30
31
32
33
34
35
36
20
21
22
23
24
25
26

27
28

29
30
31
32
33
34
35
36
37
38
39
40
41







-
+

-
+
+
+
+
+
+







#import "OFExceptions.h"
#import "OFMacros.h"

static size_t lastpagebyte = 0;
extern int getpagesize(void);

@implementation OFArray
+ newWithItemSize: (size_t)is
+ arrayWithItemSize: (size_t)is
{
	return [[self alloc] initWithItemSize: is];
	return [[[self alloc] initWithItemSize: is] autorelease];
}

+ bigArrayWithItemSize: (size_t)is
{
	return [[[OFBigArray alloc] initWithItemSize: is] autorelease];
}

- initWithItemSize: (size_t)is
{
	if ((self = [super init])) {
		data = NULL;
		itemsize = is;