Differences From Artifact [2719b40a69]:
- File
src/OFDataArray.h
— part of check-in
[2a4aa05a84]
at
2009-05-05 12:05:06
on branch trunk
— Rename OFArray to OFDataArray and add a new OFArray which stores objects.
Additionally, change OFAutoreleasePool to use the new OFArray.And while at it, change #import <config.h> in some files to
#import "config.h". (user: js, size: 2788) [annotate] [blame] [check-ins using]
To Artifact [042b313b36]:
- File src/OFDataArray.h — part of check-in [64bc94cdb3] at 2009-05-05 17:59:49 on branch trunk — Rename - objects / - items in OFArray / OFDataArray to - count. (user: js, size: 2788) [annotate] [blame] [check-ins using]
︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - + | * 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 { char *data; size_t itemsize; |
︙ | |||
50 51 52 53 54 55 56 | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | - + | * \return An initialized OFDataArray */ - initWithItemSize: (size_t)is; /** * \return The number of items in the OFDataArray */ |
︙ |