Differences From Artifact [f8ec01874b]:
- File src/OFFile.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: 3386) [annotate] [blame] [check-ins using]
To Artifact [637ff38638]:
- File
src/OFFile.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: 3388) [annotate] [blame] [check-ins using]
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + | #import "OFFile.h" #import "OFExceptions.h" @implementation OFFile + fileWithPath: (const char*)path andMode: (const char*)mode { |
︙ |