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/tokeniser/tokeniser.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/tokeniser/tokeniser.c')
-rw-r--r-- | src/tokeniser/tokeniser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c index 3b2fa9e..5ef6ef8 100644 --- a/src/tokeniser/tokeniser.c +++ b/src/tokeniser/tokeniser.c @@ -178,7 +178,7 @@ struct hubbub_tokeniser { hubbub_error_handler error_handler; /**< Error handling callback */ void *error_pw; /**< Error handler data */ - hubbub_alloc alloc; /**< Memory (de)allocation function */ + hubbub_allocator_fn alloc; /**< Memory (de)allocation function */ void *alloc_pw; /**< Client private data */ }; @@ -284,7 +284,8 @@ static hubbub_error hubbub_tokeniser_emit_token(hubbub_tokeniser *tokeniser, * HUBBUB_NOMEM on memory exhaustion */ hubbub_error hubbub_tokeniser_create(parserutils_inputstream *input, - hubbub_alloc alloc, void *pw, hubbub_tokeniser **tokeniser) + hubbub_allocator_fn alloc, void *pw, + hubbub_tokeniser **tokeniser) { parserutils_error perror; hubbub_tokeniser *tok; |