summaryrefslogtreecommitdiff
path: root/include/dom/html/html_input_element.h
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
commitc733e0fbd053ffa80b83839c4114a2a28b3ed2ec (patch)
tree39c684f6d317e32713311581f94ea12dfff3a851 /include/dom/html/html_input_element.h
parente9f991799dd6ee22dcb8af367c72f58ac31e66ca (diff)
downloadlibdom-c733e0fbd053ffa80b83839c4114a2a28b3ed2ec.tar.gz
libdom-c733e0fbd053ffa80b83839c4114a2a28b3ed2ec.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/dom/html/html_input_element.h')
-rw-r--r--include/dom/html/html_input_element.h4
1 files changed, 2 insertions, 2 deletions
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);