diff options
Diffstat (limited to 'include/hubbub/functypes.h')
-rw-r--r-- | include/hubbub/functypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hubbub/functypes.h b/include/hubbub/functypes.h index c6dbee2..d41f6bd 100644 --- a/include/hubbub/functypes.h +++ b/include/hubbub/functypes.h @@ -20,7 +20,8 @@ typedef void *(*hubbub_alloc)(void *ptr, size_t size, void *pw); /** * Type of token handling function */ -typedef void (*hubbub_token_handler)(const hubbub_token *token, void *pw); +typedef hubbub_error (*hubbub_token_handler)( + const hubbub_token *token, void *pw); /** * Type of parse error handling function |