Hubbub $Id$
functypes.h
Go to the documentation of this file.
1/*
2 * This file is part of Hubbub.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2007-8 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef hubbub_functypes_h_
9#define hubbub_functypes_h_
10
11#ifdef __cplusplus
12extern "C"
13{
14#endif
15
16#include <stdbool.h>
17#include <stdint.h>
18#include <stdlib.h>
19
20#include <hubbub/types.h>
21
30 const hubbub_token *token, void *pw);
31
40typedef void (*hubbub_error_handler)(uint32_t line, uint32_t col,
41 const char *message, void *pw);
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif
48
hubbub_error
Definition errors.h:18
hubbub_error(* hubbub_token_handler)(const hubbub_token *token, void *pw)
Type of token handling function.
Definition functypes.h:29
void(* hubbub_error_handler)(uint32_t line, uint32_t col, const char *message, void *pw)
Type of parse error handling function.
Definition functypes.h:40
Token data.
Definition types.h:119