summaryrefslogtreecommitdiff
path: root/include/dom/html/html_element.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom/html/html_element.h')
-rw-r--r--include/dom/html/html_element.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/dom/html/html_element.h b/include/dom/html/html_element.h
index 47129fe..ea07c72 100644
--- a/include/dom/html/html_element.h
+++ b/include/dom/html/html_element.h
@@ -16,28 +16,28 @@ typedef struct dom_html_element_vtable {
struct dom_element_vtable base;
dom_exception (*dom_html_element_get_id)(struct dom_html_element *element,
- struct dom_string **id);
+ dom_string **id);
dom_exception (*dom_html_element_set_id)(struct dom_html_element *element,
- struct dom_string *id);
+ dom_string *id);
} dom_html_element_vtable;
static inline dom_exception dom_html_element_get_id(struct dom_html_element *element,
- struct dom_string **id)
+ dom_string **id)
{
return ((dom_html_element_vtable *) ((dom_node *) element)->vtable)->
dom_html_element_get_id(element, id);
}
#define dom_html_element_get_id(e, id) dom_html_element_get_id( \
- (dom_html_element *) (e), (struct dom_string **) (id))
+ (dom_html_element *) (e), (dom_string **) (id))
static inline dom_exception dom_html_element_set_id(struct dom_html_element *element,
- struct dom_string *id)
+ dom_string *id)
{
return ((dom_html_element_vtable *) ((dom_node *) element)->vtable)->
dom_html_element_set_id(element, id);
}
#define dom_html_element_set_id(e, id) dom_html_element_set_id( \
- (dom_html_element *) (e), (struct dom_string *) (id))
+ (dom_html_element *) (e), (dom_string *) (id))
#endif