From c47dccdcb38dbf7a84892990cd56c8263e077953 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 8 Sep 2012 15:57:36 +0100 Subject: Return value of -1 when asked to get value of long property that doesn't exist on the html element. --- include/dom/html/html_button_element.h | 2 +- include/dom/html/html_input_element.h | 4 ++-- include/dom/html/html_text_area_element.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/dom/html/html_button_element.h b/include/dom/html/html_button_element.h index 46376b2..9bbd562 100644 --- a/include/dom/html/html_button_element.h +++ b/include/dom/html/html_button_element.h @@ -37,7 +37,7 @@ dom_exception dom_html_button_element_set_name( dom_html_button_element *button, dom_string *name); dom_exception dom_html_button_element_get_tab_index( - dom_html_button_element *button, unsigned long *tab_index); + dom_html_button_element *button, long *tab_index); dom_exception dom_html_button_element_set_tab_index( dom_html_button_element *button, unsigned long tab_index); diff --git a/include/dom/html/html_input_element.h b/include/dom/html/html_input_element.h index 60de08e..6d87bd9 100644 --- a/include/dom/html/html_input_element.h +++ b/include/dom/html/html_input_element.h @@ -67,7 +67,7 @@ dom_exception dom_html_input_element_set_disabled( dom_html_input_element *input, bool disabled); dom_exception dom_html_input_element_get_max_length( - dom_html_input_element *input, unsigned long *max_length); + dom_html_input_element *input, long *max_length); dom_exception dom_html_input_element_set_max_length( dom_html_input_element *input, unsigned long max_length); @@ -97,7 +97,7 @@ dom_exception dom_html_input_element_set_src( dom_html_input_element *input, dom_string *src); dom_exception dom_html_input_element_get_tab_index( - dom_html_input_element *input, unsigned long *tab_index); + dom_html_input_element *input, long *tab_index); dom_exception dom_html_input_element_set_tab_index( dom_html_input_element *input, unsigned long tab_index); diff --git a/include/dom/html/html_text_area_element.h b/include/dom/html/html_text_area_element.h index 37264cf..ce610ad 100644 --- a/include/dom/html/html_text_area_element.h +++ b/include/dom/html/html_text_area_element.h @@ -37,13 +37,13 @@ dom_exception dom_html_text_area_element_set_disabled( dom_html_text_area_element *text_area, bool disabled); dom_exception dom_html_text_area_element_get_cols( - dom_html_text_area_element *text_area, unsigned long *cols); + dom_html_text_area_element *text_area, long *cols); dom_exception dom_html_text_area_element_set_cols( dom_html_text_area_element *text_area, unsigned long cols); dom_exception dom_html_text_area_element_get_rows( - dom_html_text_area_element *text_area, unsigned long *rows); + dom_html_text_area_element *text_area, long *rows); dom_exception dom_html_text_area_element_set_rows( dom_html_text_area_element *text_area, unsigned long rows); @@ -61,7 +61,7 @@ dom_exception dom_html_text_area_element_set_read_only( dom_html_text_area_element *text_area, bool read_only); dom_exception dom_html_text_area_element_get_tab_index( - dom_html_text_area_element *text_area, unsigned long *tab_index); + dom_html_text_area_element *text_area, long *tab_index); dom_exception dom_html_text_area_element_set_tab_index( dom_html_text_area_element *text_area, unsigned long tab_index); -- cgit v1.2.3