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 | d8866e3acdb41e913e2f82e1c0cb10c11f14ed62 (patch) | |
tree | 07ad40b1cb4623ecd3d1d7df5be0cc5211156fec /include/dom/core | |
parent | 7233f9f6b42282c407d584e92578bae4b1eb7cb1 (diff) | |
download | libdom-d8866e3acdb41e913e2f82e1c0cb10c11f14ed62.tar.gz libdom-d8866e3acdb41e913e2f82e1c0cb10c11f14ed62.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/dom/core')
-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; |