diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-01 16:34:46 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-01 16:34:46 +0000 |
commit | 2777a04ed2ba4fd36138b991d66a32a283361f7e (patch) | |
tree | b0c3730533c36ca41402b6d0c5b98413f0a57bee /include/parserutils/functypes.h | |
download | libparserutils-2777a04ed2ba4fd36138b991d66a32a283361f7e.tar.gz libparserutils-2777a04ed2ba4fd36138b991d66a32a283361f7e.tar.bz2 |
Import parser construction utility library
svn path=/trunk/libparserutils/; revision=4111
Diffstat (limited to 'include/parserutils/functypes.h')
-rw-r--r-- | include/parserutils/functypes.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/parserutils/functypes.h b/include/parserutils/functypes.h new file mode 100644 index 0000000..703a329 --- /dev/null +++ b/include/parserutils/functypes.h @@ -0,0 +1,21 @@ +/* + * This file is part of LibParserUtils. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007-8 John-Mark Bell <jmb@netsurf-browser.org> + */ + +#ifndef parserutils_functypes_h_ +#define parserutils_functypes_h_ + +#include <stdbool.h> +#include <stdint.h> +#include <stdlib.h> + +#include <parserutils/types.h> + +/* Type of allocation function for parserutils */ +typedef void *(*parserutils_alloc)(void *ptr, size_t size, void *pw); + +#endif + |