Remove dc_array_get_raw

It does not work with typed arrays, such as locations and messages.

Use dc_array_get_id in a loop instead.
This commit is contained in:
Alexander Krotov
2020-06-24 22:09:34 +03:00
committed by link2xt
parent 09833eb74d
commit 42f6a7c77c
3 changed files with 0 additions and 29 deletions

View File

@@ -2285,17 +2285,6 @@ int dc_array_is_independent (const dc_array_t* array, size_t in
int dc_array_search_id (const dc_array_t* array, uint32_t needle, size_t* ret_index);
/**
* Get raw pointer to the data.
*
* @memberof dc_array_t
* @param array The array object.
* @return Raw pointer to the array. You MUST NOT free the data. You MUST NOT access the data beyond the current item count.
* It is not possible to enlarge the array this way. Calling any other dc_array*()-function may discard the returned pointer.
*/
const uint32_t* dc_array_get_raw (const dc_array_t* array);
/**
* @class dc_chatlist_t
*