Commit e205a8ad authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix missing declaration of API function.

parent 9a7852a6
......@@ -89,6 +89,8 @@ void* PPM_array_get_space(const PPM_Array *array);
with the <sizeof> operator. */
#define PPM_array_add(array, elem) \
PPM_array_add_elem(array, &(elem), sizeof (elem))
/* Handle most frequent use case: add pointer to array of references */
void PPM_array_add_ptr(PPM_Array *a, void *elem);
/* Add element <elem> with size <size_of_elem> to <array>. <size_of_elem> must
equal the given element size when the <array> was created. Usually, this
method is not used directly and the macro <PPM_array_add()> is used
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