if (!array) return;
eina_array_flush(array);
- EINA_SAFETY_ON_NULL_RETURN(array);
EINA_MAGIC_CHECK_ARRAY(array);
MAGIC_FREE(array);
}
* This function frees @p array. It calls first eina_array_flush() then
* free the memory of the pointer. It does not free the memory
* allocated for the elements of @p array. To free them, walk the array with
- * #EINA_ARRAY_ITER_NEXT. For performance reasons, there is no check
- * of @p array.
+ * #EINA_ARRAY_ITER_NEXT.
*/
-EAPI void eina_array_free(Eina_Array *array) EINA_ARG_NONNULL(1);
+EAPI void eina_array_free(Eina_Array *array);
/**
* @brief Set the step of an array.