summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index 6cf1b77..79b10ab 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -26,7 +26,7 @@ struct hubbub_parser {
hubbub_tokeniser *tok; /**< Tokeniser instance */
hubbub_treebuilder *tb; /**< Treebuilder instance */
- hubbub_alloc alloc; /**< Memory (de)allocation function */
+ hubbub_allocator_fn alloc; /**< Memory (de)allocation function */
void *pw; /**< Client data */
};
@@ -44,7 +44,7 @@ struct hubbub_parser {
* HUBBUB_BADENCODING if ::enc is unsupported
*/
hubbub_error hubbub_parser_create(const char *enc, bool fix_enc,
- hubbub_alloc alloc, void *pw, hubbub_parser **parser)
+ hubbub_allocator_fn alloc, void *pw, hubbub_parser **parser)
{
parserutils_error perror;
hubbub_error error;