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/parser.c | |
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/parser.c')
-rw-r--r-- | src/parser.c | 4 |
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; |