diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 17:40:40 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 17:40:40 +0000 |
commit | 9c6e96d743c993f1b92f0cc2f07164d44780536e (patch) | |
tree | 9067578eeb652fd998ddc5462b7ff8c7fb8abd57 /src/tokeniser/tokeniser.h | |
parent | 6c0e77c643e96436d85aebb9195c83cb403c25fa (diff) | |
download | libhubbub-9c6e96d743c993f1b92f0cc2f07164d44780536e.tar.gz libhubbub-9c6e96d743c993f1b92f0cc2f07164d44780536e.tar.bz2 |
Return errors from tokeniser constructor/destructor
svn path=/trunk/hubbub/; revision=5664
Diffstat (limited to 'src/tokeniser/tokeniser.h')
-rw-r--r-- | src/tokeniser/tokeniser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tokeniser/tokeniser.h b/src/tokeniser/tokeniser.h index ffc10fe..a5bc8de 100644 --- a/src/tokeniser/tokeniser.h +++ b/src/tokeniser/tokeniser.h @@ -51,10 +51,10 @@ typedef union hubbub_tokeniser_optparams { } hubbub_tokeniser_optparams; /* Create a hubbub tokeniser */ -hubbub_tokeniser *hubbub_tokeniser_create(parserutils_inputstream *input, - hubbub_alloc alloc, void *pw); +hubbub_error hubbub_tokeniser_create(parserutils_inputstream *input, + hubbub_alloc alloc, void *pw, hubbub_tokeniser **tokeniser); /* Destroy a hubbub tokeniser */ -void hubbub_tokeniser_destroy(hubbub_tokeniser *tokeniser); +hubbub_error hubbub_tokeniser_destroy(hubbub_tokeniser *tokeniser); /* Configure a hubbub tokeniser */ hubbub_error hubbub_tokeniser_setopt(hubbub_tokeniser *tokeniser, |