diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-26 22:19:48 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-26 22:19:48 +0000 |
commit | 4aa51a22bf3e600ed7d8fde4a7ca60bc2ecca02b (patch) | |
tree | 07ad40b1cb4623ecd3d1d7df5be0cc5211156fec /include | |
parent | d208ad37e9dea0e3854e70eef40e33716c54aff0 (diff) | |
download | libdom-4aa51a22bf3e600ed7d8fde4a7ca60bc2ecca02b.tar.gz libdom-4aa51a22bf3e600ed7d8fde4a7ca60bc2ecca02b.tar.bz2 |
Implement type-specific node constructors and veneer the appropriate Document APIs onto them.
svn path=/trunk/dom/; revision=3463
Diffstat (limited to 'include')
-rw-r--r-- | include/dom/core/node.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/dom/core/node.h b/include/dom/core/node.h index 7db34f6..e566622 100644 --- a/include/dom/core/node.h +++ b/include/dom/core/node.h @@ -64,7 +64,10 @@ typedef enum { DOM_DOCUMENT_NODE = 9, DOM_DOCUMENT_TYPE_NODE = 10, DOM_DOCUMENT_FRAGMENT_NODE = 11, - DOM_NOTATION_NODE = 12 + DOM_NOTATION_NODE = 12, + + /* And a count of the number of node types */ + DOM_NODE_TYPE_COUNT = DOM_NOTATION_NODE } dom_node_type; |