#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <hubbub/types.h>
Go to the source code of this file.
◆ hubbub_error_handler
typedef void(* hubbub_error_handler) (uint32_t line, uint32_t col, const char *message, void *pw) |
Type of parse error handling function.
- Parameters
-
line | Source line on which error occurred |
col | Column in line of start of erroneous input |
message | Error message |
pw | Pointer to client data |
◆ hubbub_token_handler
Type of token handling function.
- Parameters
-
token | Pointer to token to handle |
pw | Pointer to client data |
- Returns
- HUBBUB_OK on success, appropriate error otherwise.