Differences From Artifact [3674b3e199]:
- File src/OFDataArray.h — part of check-in [062a052b50] at 2010-04-17 15:46:34 on branch trunk — Don't return self where not necessary, return void or something useful. (user: js, size: 3711) [annotate] [blame] [check-ins using]
To Artifact [eabc1b70df]:
- File
src/OFDataArray.h
— part of check-in
[37db8f0fb3]
at
2010-04-17 22:27:17
on branch trunk
— New ivar naming convention.
ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (user: js, size: 3711) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
16 17 18 19 20 21 22 | * * If you plan to store large hunks of data, you should consider using * OFBigDataArray, which allocates the memory in pages rather than in bytes. */ @interface OFDataArray: OFObject <OFCopying> { char *data; | | | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | * * If you plan to store large hunks of data, you should consider using * OFBigDataArray, which allocates the memory in pages rather than in bytes. */ @interface OFDataArray: OFObject <OFCopying> { char *data; size_t itemSize; size_t count; } /** * Creates a new OFDataArray whose items all have the same size. * * \param is The size of each element in the OFDataArray |
︙ | ︙ |