summaryrefslogtreecommitdiff
path: root/src/core/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/text.h')
-rw-r--r--src/core/text.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/text.h b/src/core/text.h
index 44e09e7..c1d0956 100644
--- a/src/core/text.h
+++ b/src/core/text.h
@@ -15,7 +15,6 @@
#include "core/characterdata.h"
struct dom_document;
-struct dom_string;
struct lwc_string_s;
/**
@@ -30,14 +29,14 @@ struct dom_text {
/* Constructor and Destructor */
dom_exception _dom_text_create(struct dom_document *doc,
- struct lwc_string_s *name, struct dom_string *value,
+ struct lwc_string_s *name, dom_string *value,
struct dom_text **result);
void _dom_text_destroy(struct dom_document *doc, struct dom_text *text);
dom_exception _dom_text_initialise(struct dom_text *text,
struct dom_document *doc, dom_node_type type,
- struct lwc_string_s *name, struct dom_string *value);
+ struct lwc_string_s *name, dom_string *value);
void _dom_text_finalise(struct dom_document *doc, struct dom_text *text);
@@ -48,9 +47,9 @@ dom_exception _dom_text_split_text(struct dom_text *text,
dom_exception _dom_text_get_is_element_content_whitespace(
struct dom_text *text, bool *result);
dom_exception _dom_text_get_whole_text(struct dom_text *text,
- struct dom_string **result);
+ dom_string **result);
dom_exception _dom_text_replace_whole_text(struct dom_text *text,
- struct dom_string *content, struct dom_text **result);
+ dom_string *content, struct dom_text **result);
#define DOM_TEXT_VTABLE \
_dom_text_split_text, \