Commit a142409b authored by Chris Müller's avatar Chris Müller

lib: add clear function for pointer arrays.

parent e2856887
......@@ -74,6 +74,7 @@ void cry_ptr_array_append(struct CryPtrArray* array, pointer
return_code cry_ptr_array_insert(struct CryPtrArray* array, size_t index, pointer ptr);
pointer cry_ptr_array_remove(struct CryPtrArray* array, size_t index);
pointer cry_ptr_array_replace(struct CryPtrArray* array, size_t index, pointer ptr);
void cry_ptr_array_clear(struct CryPtrArray* array, cry_free_funptr fun);
pointer cry_ptr_array_get(struct CryPtrArray* array, size_t index);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment