@@ -125,39 +125,39 @@ /** * Adds an item to the OFDataArray. * * \param item A pointer to an arbitrary item */ -- (void)addItem: (void*)item; +- (void)addItem: (const void*)item; /** * Adds an item to the OFDataArray at the specified index. * * \param item A pointer to an arbitrary item * \param index The index where the item should be added */ -- (void)addItem: (void*)item +- (void)addItem: (const void*)item atIndex: (size_t)index; /** * Adds items from a C array to the OFDataArray. * * \param nitems The number of items to add * \param carray A C array containing the items to add */ - (void)addNItems: (size_t)nitems - fromCArray: (void*)carray; + fromCArray: (const void*)carray; /** * Adds items from a C array to the OFDataArray at the specified index. * * \param nitems The number of items to add * \param carray A C array containing the items to add * \param index The index where the items should be added */ - (void)addNItems: (size_t)nitems - fromCArray: (void*)carray + fromCArray: (const void*)carray atIndex: (size_t)index; /** * Removes the item at the specified index. *