summaryrefslogtreecommitdiff
path: root/include/dom/html
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 /include/dom/html
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 'include/dom/html')
-rw-r--r--include/dom/html/html_button_element.h4
-rw-r--r--include/dom/html/html_collection.h4
-rw-r--r--include/dom/html/html_form_element.h2
-rw-r--r--include/dom/html/html_input_element.h8
-rw-r--r--include/dom/html/html_options_collection.h6
-rw-r--r--include/dom/html/html_select_element.h16
-rw-r--r--include/dom/html/html_text_area_element.h12
7 files changed, 26 insertions, 26 deletions
diff --git a/include/dom/html/html_button_element.h b/include/dom/html/html_button_element.h
index 9bbd562..155d125 100644
--- a/include/dom/html/html_button_element.h
+++ b/include/dom/html/html_button_element.h
@@ -37,10 +37,10 @@ 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, long *tab_index);
+ dom_html_button_element *button, int32_t *tab_index);
dom_exception dom_html_button_element_set_tab_index(
- dom_html_button_element *button, unsigned long tab_index);
+ dom_html_button_element *button, uint32_t tab_index);
dom_exception dom_html_button_element_get_type(
dom_html_button_element *button, dom_string **type);
diff --git a/include/dom/html/html_collection.h b/include/dom/html/html_collection.h
index 7322ea8..9521f94 100644
--- a/include/dom/html/html_collection.h
+++ b/include/dom/html/html_collection.h
@@ -16,9 +16,9 @@ struct dom_node;
typedef struct dom_html_collection dom_html_collection;
dom_exception dom_html_collection_get_length(dom_html_collection *col,
- unsigned long *len);
+ uint32_t *len);
dom_exception dom_html_collection_item(dom_html_collection *col,
- unsigned long index, struct dom_node **node);
+ uint32_t index, struct dom_node **node);
dom_exception dom_html_collection_named_item(dom_html_collection *col,
dom_string *name, struct dom_node **node);
diff --git a/include/dom/html/html_form_element.h b/include/dom/html/html_form_element.h
index c4ee1d8..81637a3 100644
--- a/include/dom/html/html_form_element.h
+++ b/include/dom/html/html_form_element.h
@@ -18,7 +18,7 @@ typedef struct dom_html_form_element dom_html_form_element;
dom_exception dom_html_form_element_get_elements(dom_html_form_element *ele,
struct dom_html_collection **col);
dom_exception dom_html_form_element_get_length(dom_html_form_element *ele,
- unsigned long *len);
+ uint32_t *len);
dom_exception dom_html_form_element_get_accept_charset(
dom_html_form_element *ele, dom_string **accept_charset);
diff --git a/include/dom/html/html_input_element.h b/include/dom/html/html_input_element.h
index 6d87bd9..eb6aecd 100644
--- a/include/dom/html/html_input_element.h
+++ b/include/dom/html/html_input_element.h
@@ -67,10 +67,10 @@ 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, long *max_length);
+ dom_html_input_element *input, int32_t *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);
dom_exception dom_html_input_element_get_name(
dom_html_input_element *input, dom_string **name);
@@ -97,10 +97,10 @@ 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, long *tab_index);
+ dom_html_input_element *input, int32_t *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);
dom_exception dom_html_input_element_get_type(
dom_html_input_element *input, dom_string **type);
diff --git a/include/dom/html/html_options_collection.h b/include/dom/html/html_options_collection.h
index d11221a..5825fb0 100644
--- a/include/dom/html/html_options_collection.h
+++ b/include/dom/html/html_options_collection.h
@@ -16,11 +16,11 @@ struct dom_node;
typedef struct dom_html_options_collection dom_html_options_collection;
dom_exception dom_html_options_collection_get_length(
- dom_html_options_collection *col, unsigned long *len);
+ dom_html_options_collection *col, uint32_t *len);
dom_exception dom_html_options_collection_set_length(
- dom_html_options_collection *col, unsigned long len);
+ dom_html_options_collection *col, uint32_t len);
dom_exception dom_html_options_collection_item(
- dom_html_options_collection *col, unsigned long index,
+ dom_html_options_collection *col, uint32_t index,
struct dom_node **node);
dom_exception dom_html_options_collection_named_item(
dom_html_options_collection *col, dom_string *name,
diff --git a/include/dom/html/html_select_element.h b/include/dom/html/html_select_element.h
index 10c002a..a052be1 100644
--- a/include/dom/html/html_select_element.h
+++ b/include/dom/html/html_select_element.h
@@ -18,13 +18,13 @@ struct dom_html_options_collection;
struct dom_html_element;
dom_exception dom_html_select_element_get_selected_index(
- dom_html_select_element *ele, unsigned long *index);
+ dom_html_select_element *ele, uint32_t *index);
dom_exception dom_html_select_element_set_selected_index(
- dom_html_select_element *ele, unsigned long index);
+ dom_html_select_element *ele, uint32_t index);
dom_exception dom_html_select_element_get_length(
- dom_html_select_element *ele, unsigned long *len);
+ dom_html_select_element *ele, uint32_t *len);
dom_exception dom_html_select_element_set_length(
- dom_html_select_element *ele, unsigned long len);
+ dom_html_select_element *ele, uint32_t len);
dom_exception dom_html_select_element_get_options(
dom_html_select_element *ele,
struct dom_html_options_collection **col);
@@ -37,13 +37,13 @@ dom_exception dom_html_select_element_get_multiple(
dom_exception dom_html_select_element_set_multiple(
dom_html_select_element *ele, bool multiple);
dom_exception dom_html_select_element_get_size(
- dom_html_select_element *ele, unsigned long *size);
+ dom_html_select_element *ele, uint32_t *size);
dom_exception dom_html_select_element_set_size(
- dom_html_select_element *ele, unsigned long size);
+ dom_html_select_element *ele, uint32_t size);
dom_exception dom_html_select_element_get_tab_index(
- dom_html_select_element *ele, unsigned long *tab_index);
+ dom_html_select_element *ele, uint32_t *tab_index);
dom_exception dom_html_select_element_set_tab_index(
- dom_html_select_element *ele, unsigned long tab_index);
+ dom_html_select_element *ele, uint32_t tab_index);
/* Functions */
dom_exception dom_html_select_element_add(struct dom_html_element *ele,
diff --git a/include/dom/html/html_text_area_element.h b/include/dom/html/html_text_area_element.h
index ce610ad..9954e04 100644
--- a/include/dom/html/html_text_area_element.h
+++ b/include/dom/html/html_text_area_element.h
@@ -37,16 +37,16 @@ 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, long *cols);
+ dom_html_text_area_element *text_area, int32_t *cols);
dom_exception dom_html_text_area_element_set_cols(
- dom_html_text_area_element *text_area, unsigned long cols);
+ dom_html_text_area_element *text_area, uint32_t cols);
dom_exception dom_html_text_area_element_get_rows(
- dom_html_text_area_element *text_area, long *rows);
+ dom_html_text_area_element *text_area, int32_t *rows);
dom_exception dom_html_text_area_element_set_rows(
- dom_html_text_area_element *text_area, unsigned long rows);
+ dom_html_text_area_element *text_area, uint32_t rows);
dom_exception dom_html_text_area_element_get_name(
dom_html_text_area_element *text_area, dom_string **name);
@@ -61,10 +61,10 @@ 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, long *tab_index);
+ dom_html_text_area_element *text_area, int32_t *tab_index);
dom_exception dom_html_text_area_element_set_tab_index(
- dom_html_text_area_element *text_area, unsigned long tab_index);
+ dom_html_text_area_element *text_area, uint32_t tab_index);
dom_exception dom_html_text_area_element_get_type(
dom_html_text_area_element *text_area, dom_string **type);