@@ -16,11 +16,11 @@ * array. * * 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 +@interface OFDataArray: OFObject { char *data; size_t itemsize; size_t count; } @@ -64,17 +64,10 @@ /** * \return All elements of the OFDataArray */ - (void*)data; -/** - * Clones the OFDataArray, creating a new one. - * - * \return A new autoreleased copy of the OFDataArray - */ -- (id)copy; - /** * Compares the OFDataArray to another object. * * \param obj An object to compare with * \return An integer which is the result of the comparison, see for example @@ -117,10 +110,10 @@ * \param nitems The number of items to remove */ - removeNItems: (size_t)nitems; @end -@interface OFBigDataArray: OFDataArray +@interface OFBigDataArray: OFDataArray { size_t size; } @end