Differences From Artifact [ea5c3825ad]:
- File src/OFArray.m — part of check-in [1496808b81] at 2009-01-24 15:24:49 on branch trunk — Adjust API to introduction of OFAutoreleasePool. (user: js, size: 3477) [annotate] [blame] [check-ins using]
To Artifact [0b15af59f1]:
- File
src/OFArray.m
— part of check-in
[7feac9e596]
at
2009-01-24 20:28:31
on branch trunk
— [self alloc] isn't a good idea with the new API.
The reason is that a derived class, for example derived from OFArray,
would not return an OFArray when + arrayWithItemSize is called. (user: js, size: 3480) [annotate] [blame] [check-ins using]
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | static size_t lastpagebyte = 0; extern int getpagesize(void); @implementation OFArray + arrayWithItemSize: (size_t)is { |
︙ |