diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-06-27 20:12:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-06-27 20:12:24 +0200 |
commit | c26be0d7623434a4595071f8ea7c55aeb240fcca (patch) | |
tree | 2a99f2d9e35b6c55671cf369972fd74af701df86 /src/pulsecore/idxset.h | |
parent | 6dca92be9696d6e3b5d4dfe28c6156f73f730dd4 (diff) |
modernize hashmap implementation a bit, reduce memory consumption a bit
Diffstat (limited to 'src/pulsecore/idxset.h')
-rw-r--r-- | src/pulsecore/idxset.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulsecore/idxset.h b/src/pulsecore/idxset.h index 0a4e528e..f089ef37 100644 --- a/src/pulsecore/idxset.h +++ b/src/pulsecore/idxset.h @@ -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. */ |