From 89fe0e619357ddf707a2d301794b9ceb928a7836 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 23 Oct 2015 11:55:51 +0100 Subject: Make HTMLOList IDL to c name mapping consistant --- src/html/html_olist_element.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/html/html_olist_element.h') diff --git a/src/html/html_olist_element.h b/src/html/html_olist_element.h index 301d8ac..70601e8 100644 --- a/src/html/html_olist_element.h +++ b/src/html/html_olist_element.h @@ -6,47 +6,47 @@ * Copyright 2014 Rupinder Singh Khokhar */ -#ifndef dom_internal_html_o_list_element_h_ -#define dom_internal_html_o_list_element_h_ +#ifndef dom_internal_html_olist_element_h_ +#define dom_internal_html_olist_element_h_ #include #include "html/html_element.h" -struct dom_html_o_list_element { +struct dom_html_olist_element { struct dom_html_element base; /**< The base class */ }; -/* Create a dom_html_o_list_element object */ -dom_exception _dom_html_o_list_element_create(struct dom_html_document *doc, +/* Create a dom_html_olist_element object */ +dom_exception _dom_html_olist_element_create(struct dom_html_document *doc, dom_string *namespace, dom_string *o_listfix, - struct dom_html_o_list_element **ele); + struct dom_html_olist_element **ele); -/* Initialise a dom_html_o_list_element object */ -dom_exception _dom_html_o_list_element_initialise(struct dom_html_document *doc, +/* Initialise a dom_html_olist_element object */ +dom_exception _dom_html_olist_element_initialise(struct dom_html_document *doc, dom_string *namespace, dom_string *o_listfix, - struct dom_html_o_list_element *ele); + struct dom_html_olist_element *ele); -/* Finalise a dom_html_o_list_element object */ -void _dom_html_o_list_element_finalise(struct dom_html_o_list_element *ele); +/* Finalise a dom_html_olist_element object */ +void _dom_html_olist_element_finalise(struct dom_html_olist_element *ele); -/* Destroy a dom_html_o_list_element object */ -void _dom_html_o_list_element_destroy(struct dom_html_o_list_element *ele); +/* Destroy a dom_html_olist_element object */ +void _dom_html_olist_element_destroy(struct dom_html_olist_element *ele); /* The protected virtual functions */ -dom_exception _dom_html_o_list_element_parse_attribute(dom_element *ele, +dom_exception _dom_html_olist_element_parse_attribute(dom_element *ele, dom_string *name, dom_string *value, dom_string **parsed); -void _dom_virtual_html_o_list_element_destroy(dom_node_internal *node); -dom_exception _dom_html_o_list_element_copy(dom_node_internal *old, +void _dom_virtual_html_olist_element_destroy(dom_node_internal *node); +dom_exception _dom_html_olist_element_copy(dom_node_internal *old, dom_node_internal **copy); -#define DOM_HTML_O_LIST_ELEMENT_PROTECT_VTABLE \ - _dom_html_o_list_element_parse_attribute +#define DOM_HTML_OLIST_ELEMENT_PROTECT_VTABLE \ + _dom_html_olist_element_parse_attribute -#define DOM_NODE_PROTECT_VTABLE_HTML_O_LIST_ELEMENT \ - _dom_virtual_html_o_list_element_destroy, \ - _dom_html_o_list_element_copy +#define DOM_NODE_PROTECT_VTABLE_HTML_OLIST_ELEMENT \ + _dom_virtual_html_olist_element_destroy, \ + _dom_html_olist_element_copy #endif -- cgit v1.2.3