summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-09-08 15:57:36 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-09-08 15:57:36 +0100
commitc47dccdcb38dbf7a84892990cd56c8263e077953 (patch)
tree39c684f6d317e32713311581f94ea12dfff3a851 /include
parent844e305de0205916db16dd95e74aee28ff8e5326 (diff)
downloadlibdom-c47dccdcb38dbf7a84892990cd56c8263e077953.tar.gz
libdom-c47dccdcb38dbf7a84892990cd56c8263e077953.tar.bz2
Return value of -1 when asked to get value of long property that doesn't exist on the html element.
Diffstat (limited to 'include')
-rw-r--r--include/dom/html/html_button_element.h2
-rw-r--r--include/dom/html/html_input_element.h4
-rw-r--r--include/dom/html/html_text_area_element.h6
3 files changed, 6 insertions, 6 deletions
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);