Function darray_map

Function Documentation

status_t darray_map(struct darray *arr, void (*f)(void *e))

Apply a function to all elements in the darray.

Parameters:
  • arr – The darray handle.

  • f – The callback for each element (can modify elements).

Returns:

status_t.