From 975de383a09510aae8d5a32f5fc97181fe2846a5 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Nov 2007 02:08:05 +0000 Subject: Beginnings of a hubbub binding to libdom Currently comprises a stubbed-out parser wrapper Todo: 1) Complete parser wrapper, such that it actually creates a DOM tree 2) Provide a hubbub-backed DOMImplementationSource svn path=/trunk/dom/; revision=3646 --- bindings/hubbub/errors.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bindings/hubbub/errors.h (limited to 'bindings/hubbub/errors.h') diff --git a/bindings/hubbub/errors.h b/bindings/hubbub/errors.h new file mode 100644 index 0000000..4409fb9 --- /dev/null +++ b/bindings/hubbub/errors.h @@ -0,0 +1,19 @@ +/* + * This file is part of libdom. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007 John-Mark Bell + */ + +#ifndef dom_hubbub_errors_h_ +#define dom_hubbub_errors_h_ + +typedef enum { + DOM_HUBBUB_OK = 0, + + DOM_HUBBUB_NOMEM = 1, + + DOM_HUBBUB_HUBBUB_ERR = (1<<16), +} dom_hubbub_error; + +#endif -- cgit v1.2.3