diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-04-07 23:28:32 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-04-07 23:28:32 +0000 |
commit | 4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43 (patch) | |
tree | 545dfc0006eeddcd000a1071c7c62afe3e47e5b5 /include/dom/core/text.h | |
parent | d24960dac782ef8e54ed91692f6aec1dd6d08bc1 (diff) | |
download | libdom-4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43.tar.gz libdom-4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43.tar.bz2 |
s/struct dom_string/dom_string/g
svn path=/trunk/libdom/; revision=12172
Diffstat (limited to 'include/dom/core/text.h')
-rw-r--r-- | include/dom/core/text.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/dom/core/text.h b/include/dom/core/text.h index 5e38d13..61e1c4c 100644 --- a/include/dom/core/text.h +++ b/include/dom/core/text.h @@ -14,7 +14,6 @@ #include <dom/core/characterdata.h> struct dom_characterdata; -struct dom_string; typedef struct dom_text dom_text; @@ -26,9 +25,9 @@ typedef struct dom_text_vtable { 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); } dom_text_vtable; static inline dom_exception dom_text_split_text(struct dom_text *text, @@ -52,21 +51,21 @@ static inline dom_exception dom_text_get_is_element_content_whitespace( (bool *) (r)) static inline dom_exception dom_text_get_whole_text(struct dom_text *text, - struct dom_string **result) + dom_string **result) { return ((dom_text_vtable *) ((dom_node *) text)->vtable)-> dom_text_get_whole_text(text, result); } #define dom_text_get_whole_text(t, r) dom_text_get_whole_text((dom_text *) (t),\ - (struct dom_string **) (r)) + (dom_string **) (r)) static inline 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) { return ((dom_text_vtable *) ((dom_node *) text)->vtable)-> dom_text_replace_whole_text(text, content, result); } #define dom_text_replace_whole_text(t, c, r) dom_text_replace_whole_text( \ - (dom_text *) (t), (struct dom_string *) (c), (dom_text **) (r)) + (dom_text *) (t), (dom_string *) (c), (dom_text **) (r)) #endif |