summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-08 11:18:42 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-07-18 03:44:34 +0530
commit248159cc63965706c08f0b92aa5a41ab819b1c7d (patch)
tree1f61f620154d06d3dbd560a4eee8a3e911f8174e /include/dom
parent5ea57331b2cbe8f261988f01b5e30d388847b6be (diff)
downloadlibdom-248159cc63965706c08f0b92aa5a41ab819b1c7d.tar.gz
libdom-248159cc63965706c08f0b92aa5a41ab819b1c7d.tar.bz2
HTMLDocument Element incomplete & test generator minor fix
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/html/html_document.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/dom/html/html_document.h b/include/dom/html/html_document.h
index 1f868a5..936ea69 100644
--- a/include/dom/html/html_document.h
+++ b/include/dom/html/html_document.h
@@ -114,7 +114,7 @@ static inline dom_exception dom_html_document_get_body(dom_html_document *doc,
get_body(doc, body);
}
#define dom_html_document_get_body(d, b) \
- dom_html_document_get_title((dom_html_document *) (d), \
+ dom_html_document_get_body((dom_html_document *) (d), \
(struct dom_html_element **) (b))
static inline dom_exception dom_html_document_set_body(dom_html_document *doc,
@@ -174,7 +174,7 @@ static inline dom_exception dom_html_document_get_anchors(dom_html_document *doc
get_anchors(doc, col);
}
#define dom_html_document_get_anchors(d, c) \
- dom_html_document_get_title((dom_html_document *) (d), \
+ dom_html_document_get_anchors((dom_html_document *) (d), \
(struct dom_html_collection **) (c))
static inline dom_exception dom_html_document_get_cookie(dom_html_document *doc,
@@ -184,7 +184,7 @@ static inline dom_exception dom_html_document_get_cookie(dom_html_document *doc,
get_cookie(doc, cookie);
}
#define dom_html_document_get_cookie(d, c) \
- dom_html_document_get_title((dom_html_document *) (d), (c))
+ dom_html_document_get_cookie((dom_html_document *) (d), (c))
static inline dom_exception dom_html_document_set_cookie(dom_html_document *doc,
dom_string *cookie)
@@ -237,8 +237,8 @@ static inline dom_exception dom_html_document_get_elements_by_name(dom_html_docu
return ((dom_html_document_vtable *) ((dom_node *) doc)->vtable)->
get_elements_by_name(doc, name, list);
}
-#define dom_html_document_get_elements_by_name(d, n, l) \
- dom_html_document_get_element_by_name((dom_html_document *) (d), \
+#define dom_html_document_get_element_by_name(d, n, l) \
+ dom_html_document_get_elements_by_name((dom_html_document *) (d), \
(n), (struct dom_nodelist **) (l))
#endif