@@ -17,11 +17,11 @@ * \brief A class for storing arbitrary data in an 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 count; size_t itemSize; } @@ -79,18 +79,10 @@ /** * \return All elements of the OFDataArray as a C array */ - (void*)cArray; -/** - * Compares the OFDataArray to another object. - * - * \param ary A data array to compare with - * \return An of_comparsion_result_t - */ -- (of_comparison_result_t)compare: (OFDataArray*)ary; - /** * Returns a specific item of the OFDataArray. * * \param index The number of the item to return * \return The specified item of the OFDataArray