diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-04 00:38:31 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-04 00:38:31 +0000 |
commit | a70196587f7213a6b25791b3faa6590674829ba1 (patch) | |
tree | f42b494d684b364f6c7a3ee6b853400625ba6014 /src/utils | |
parent | a3afa7e6b09d01d1a7b6a8ab0b94217e392f7cb9 (diff) | |
download | libhubbub-a70196587f7213a6b25791b3faa6590674829ba1.tar.gz libhubbub-a70196587f7213a6b25791b3faa6590674829ba1.tar.bz2 |
hubbub_alloc -> hubbub_allocator_fn
svn path=/trunk/hubbub/; revision=7043
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/dict.c | 4 | ||||
-rw-r--r-- | src/utils/dict.h | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/src/utils/dict.h b/src/utils/dict.h index 4ea4440..9718542 100644 --- a/src/utils/dict.h +++ b/src/utils/dict.h @@ -16,7 +16,7 @@ typedef struct hubbub_dict hubbub_dict; /* Create a dictionary */ -hubbub_error hubbub_dict_create(hubbub_alloc alloc, void *pw, +hubbub_error hubbub_dict_create(hubbub_allocator_fn alloc, void *pw, hubbub_dict **dict); /* Destroy a dictionary */ hubbub_error hubbub_dict_destroy(hubbub_dict *dict); |