Go to the source code of this file.
◆ _dom_comment_finalise
◆ _dom_comment_initialise
◆ DOM_COMMENT_PROTECT_VTABLE
#define DOM_COMMENT_PROTECT_VTABLE |
◆ __dom_comment_destroy()
◆ _dom_comment_copy()
◆ _dom_comment_create()
Create a comment node
- Parameters
-
doc | The owning document |
name | The name of the node to create |
value | The text content of the node |
result | Pointer to location to receive created node |
- Returns
- DOM_NO_ERR on success, DOM_NO_MEM_ERR on memory exhaustion.
::doc, ::name and ::value will have their reference counts increased.
The returned node will already be referenced.
◆ _dom_comment_destroy()
Destroy a comment node
- Parameters
-
comment | The node to destroy |
The contents of ::comment will be destroyed and ::comment will be freed