diff options
author | Bo Yang <struggleyb.nku@gmail.com> | 2009-03-24 12:07:19 +0000 |
---|---|---|
committer | Bo Yang <struggleyb.nku@gmail.com> | 2009-03-24 12:07:19 +0000 |
commit | 6084a7057f746bfa953342270865f434bf98fef8 (patch) | |
tree | 5ae4c5d2ae29ada4f2619960e9bc064180159f4c /src/core/node.c | |
parent | 80fefa4a957812b4357b2e65fa0776ee8c93b4ae (diff) | |
download | libdom-6084a7057f746bfa953342270865f434bf98fef8.tar.gz libdom-6084a7057f746bfa953342270865f434bf98fef8.tar.bz2 |
Convert NodeList and ProcessingInstruction.
svn path=/trunk/dom/; revision=6830
Diffstat (limited to 'src/core/node.c')
-rw-r--r-- | src/core/node.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/node.c b/src/core/node.c index f40431e..23a0f80 100644 --- a/src/core/node.c +++ b/src/core/node.c @@ -98,6 +98,8 @@ void _dom_node_destroy(struct dom_node_internal *node) dom_node_ref(owner); } +/* This type dependent switch is not necessary from now. + But I still keep them for a while untill all the functions works well. switch (node->type) { case DOM_ELEMENT_NODE: dom_element_destroy(owner, (struct dom_element *) node); @@ -117,7 +119,6 @@ void _dom_node_destroy(struct dom_node_internal *node) (struct dom_entity_reference *) node); break; case DOM_ENTITY_NODE: - /** \todo entity node */ break; case DOM_PROCESSING_INSTRUCTION_NODE: dom_processing_instruction_destroy(owner, @@ -137,10 +138,9 @@ void _dom_node_destroy(struct dom_node_internal *node) (struct dom_document_fragment *) node); break; case DOM_NOTATION_NODE: - /** \todo notation node */ break; } - +*/ if (!null_owner_permitted) { /* Release the reference we claimed on the document. If this * is the last reference held on the document and the list |