Differences From Artifact [02c5a4d259]:
- File src/OFArray.m — part of check-in [d87df02e8b] at 2009-04-21 17:16:23 on branch trunk — The if ((self = [super init])) construct isn't needed anymore. (user: js, size: 4738) [annotate] [blame] [check-ins using]
To Artifact [a4f78a390c]:
- File src/OFArray.m — part of check-in [70a65567df] at 2009-04-25 12:48:28 on branch trunk — An item size of 0 is invalid for an array. (user: js, size: 4850) [annotate] [blame] [check-ins using]
︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | + + + + + + + + | + bigArrayWithItemSize: (size_t)is { return [[[OFBigArray alloc] initWithItemSize: is] autorelease]; } - initWithItemSize: (size_t)is { Class c; self = [super init]; if (is == 0) { c = isa; [self free]; @throw [OFInvalidArgumentException newWithClass: c]; } data = NULL; itemsize = is; items = 0; return self; } |
︙ |