summaryrefslogtreecommitdiff
path: root/src/utils/dict.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-04 00:38:31 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-04 00:38:31 +0000
commita70196587f7213a6b25791b3faa6590674829ba1 (patch)
treef42b494d684b364f6c7a3ee6b853400625ba6014 /src/utils/dict.c
parenta3afa7e6b09d01d1a7b6a8ab0b94217e392f7cb9 (diff)
downloadlibhubbub-a70196587f7213a6b25791b3faa6590674829ba1.tar.gz
libhubbub-a70196587f7213a6b25791b3faa6590674829ba1.tar.bz2
hubbub_alloc -> hubbub_allocator_fn
svn path=/trunk/hubbub/; revision=7043
Diffstat (limited to 'src/utils/dict.c')
-rw-r--r--src/utils/dict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/dict.c b/src/utils/dict.c
index 7bd2df7..8dd6adf 100644
--- a/src/utils/dict.c
+++ b/src/utils/dict.c
@@ -25,7 +25,7 @@ typedef struct hubbub_dict_node {
struct hubbub_dict {
hubbub_dict_node *dict; /**< Root of tree */
- hubbub_alloc alloc; /**< Memory (de)allocation function */
+ hubbub_allocator_fn alloc; /**< Memory (de)allocation function */
void *pw; /**< Pointer to client data */
};
@@ -46,7 +46,7 @@ static hubbub_dict_node *hubbub_dict_insert_internal(hubbub_dict *dict,
* HUBBUB_BADPARM on bad parameters,
* HUBBUB_NOMEM on memory exhaustion
*/
-hubbub_error hubbub_dict_create(hubbub_alloc alloc, void *pw,
+hubbub_error hubbub_dict_create(hubbub_allocator_fn alloc, void *pw,
hubbub_dict **dict)
{
hubbub_dict *d;