mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
modernize hashmap implementation a bit, reduce memory consumption a bit
This commit is contained in:
parent
6dca92be96
commit
c26be0d762
6 changed files with 112 additions and 74 deletions
|
|
@ -32,6 +32,9 @@
|
|||
/* A special index value denoting the invalid index. */
|
||||
#define PA_IDXSET_INVALID ((uint32_t) -1)
|
||||
|
||||
/* Similar to pa_free_cb_t, but takes a userdata argument */
|
||||
typedef void (*pa_free2_cb_t)(void *p, void *userdata);
|
||||
|
||||
/* Generic implementations for hash and comparison functions. Just
|
||||
* compares the pointer or calculates the hash value directly from the
|
||||
* pointer value. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue