libdom
Loading...
Searching...
No Matches
src
core
comment.h
Go to the documentation of this file.
1
/*
2
* This file is part of libdom.
3
* Licensed under the MIT License,
4
* http://www.opensource.org/licenses/mit-license.php
5
* Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
6
*/
7
8
#ifndef dom_internal_core_comment_h_
9
#define dom_internal_core_comment_h_
10
11
#include <
dom/core/exceptions.h
>
12
#include <
dom/core/comment.h
>
13
14
struct
dom_comment
;
15
struct
dom_document
;
16
17
dom_exception
_dom_comment_create
(
struct
dom_document
*doc,
18
dom_string
*name,
dom_string
*value,
19
dom_comment
**result);
20
21
#define _dom_comment_initialise _dom_characterdata_initialise
22
#define _dom_comment_finalise _dom_characterdata_finalise
23
24
void
_dom_comment_destroy
(
dom_comment
*comment);
25
26
/* Following comes the protected vtable */
27
void
__dom_comment_destroy
(
dom_node_internal
*node);
28
dom_exception
_dom_comment_copy
(
dom_node_internal
*old,
29
dom_node_internal
**copy);
30
31
#define DOM_COMMENT_PROTECT_VTABLE \
32
__dom_comment_destroy, \
33
_dom_comment_copy
34
35
#endif
exceptions.h
dom_exception
dom_exception
Definition
exceptions.h:24
comment.h
_dom_comment_create
dom_exception _dom_comment_create(struct dom_document *doc, dom_string *name, dom_string *value, dom_comment **result)
Definition
comment.c:42
_dom_comment_destroy
void _dom_comment_destroy(dom_comment *comment)
Definition
comment.c:78
__dom_comment_destroy
void __dom_comment_destroy(dom_node_internal *node)
Definition
comment.c:92
_dom_comment_copy
dom_exception _dom_comment_copy(dom_node_internal *old, dom_node_internal **copy)
Definition
comment.c:98
dom_comment
Definition
comment.c:20
dom_document
Definition
document.h:43
dom_node_internal
Definition
node.h:54
dom_string
Definition
string.h:19
Generated on Sat Oct 19 2024 20:08:27 for libdom by
1.10.0