From c26be0d7623434a4595071f8ea7c55aeb240fcca Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Jun 2008 20:12:24 +0200 Subject: modernize hashmap implementation a bit, reduce memory consumption a bit --- src/pulsecore/idxset.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pulsecore/idxset.h') 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. */ -- cgit