mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Use simple free function in pa_dynarray_free
This commit is contained in:
parent
46920bab16
commit
e45b02de55
4 changed files with 6 additions and 10 deletions
|
|
@ -22,7 +22,7 @@
|
|||
USA.
|
||||
***/
|
||||
|
||||
#include <pulsecore/idxset.h>
|
||||
#include <pulse/def.h>
|
||||
|
||||
typedef struct pa_dynarray pa_dynarray;
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ pa_dynarray* pa_dynarray_new(void);
|
|||
|
||||
/* Free the array calling the specified function for every entry in
|
||||
* the array. The function may be NULL. */
|
||||
void pa_dynarray_free(pa_dynarray* a, pa_free2_cb_t free_func, void *userdata);
|
||||
void pa_dynarray_free(pa_dynarray *a, pa_free_cb_t free_func);
|
||||
|
||||
/* Store p at position i in the array */
|
||||
void pa_dynarray_put(pa_dynarray*a, unsigned i, void *p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue