summaryrefslogtreecommitdiff
path: root/src/html/html_input_element.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
commita77488bab4732c30044b04e97d13707e03825bdf (patch)
treec2b056265adfe7acd76596ab5433d2ce7f227cd3 /src/html/html_input_element.c
parentc733e0fbd053ffa80b83839c4114a2a28b3ed2ec (diff)
downloadlibdom-a77488bab4732c30044b04e97d13707e03825bdf.tar.gz
libdom-a77488bab4732c30044b04e97d13707e03825bdf.tar.bz2
unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral fixes. Test suite does not pass
Diffstat (limited to 'src/html/html_input_element.c')
-rw-r--r--src/html/html_input_element.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/html/html_input_element.c b/src/html/html_input_element.c
index 694eb22..9586abb 100644
--- a/src/html/html_input_element.c
+++ b/src/html/html_input_element.c
@@ -356,30 +356,30 @@ SIMPLE_GET_SET(use_map);
SIMPLE_GET_SET(value);
dom_exception dom_html_input_element_get_tab_index(
- dom_html_input_element *input, long *tab_index)
+ dom_html_input_element *input, int32_t *tab_index)
{
- return dom_html_element_get_long_property(&input->base, "tabindex",
+ return dom_html_element_get_int32_t_property(&input->base, "tabindex",
SLEN("tabindex"), tab_index);
}
dom_exception dom_html_input_element_set_tab_index(
- dom_html_input_element *input, unsigned long tab_index)
+ dom_html_input_element *input, uint32_t tab_index)
{
- return dom_html_element_set_long_property(&input->base, "tabindex",
+ return dom_html_element_set_int32_t_property(&input->base, "tabindex",
SLEN("tabindex"), tab_index);
}
dom_exception dom_html_input_element_get_max_length(
- dom_html_input_element *input, long *max_length)
+ dom_html_input_element *input, int32_t *max_length)
{
- return dom_html_element_get_long_property(&input->base, "maxlength",
+ return dom_html_element_get_int32_t_property(&input->base, "maxlength",
SLEN("maxlength"), max_length);
}
dom_exception dom_html_input_element_set_max_length(
- dom_html_input_element *input, unsigned long max_length)
+ dom_html_input_element *input, uint32_t max_length)
{
- return dom_html_element_set_long_property(&input->base, "maxlength",
+ return dom_html_element_set_int32_t_property(&input->base, "maxlength",
SLEN("maxlength"), max_length);
}