summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-10-25 09:08:35 +0000
committerVincent Sanders <vince@kyllikki.org>2015-10-25 09:08:35 +0000
commit3963f406d9139eec74f537378c46ca04dfaf4e59 (patch)
treed0e26eb037c8b135c961f445f47b372d221c4dec /include/dom
parent4e870f668f3252d61d206f6648bce9cef1f66545 (diff)
downloadlibdom-3963f406d9139eec74f537378c46ca04dfaf4e59.tar.gz
libdom-3963f406d9139eec74f537378c46ca04dfaf4e59.tar.bz2
Update the image element API to use dom_ulong where apropriate
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/html/html_image_element.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/dom/html/html_image_element.h b/include/dom/html/html_image_element.h
index 7e3e879..bde2584 100644
--- a/include/dom/html/html_image_element.h
+++ b/include/dom/html/html_image_element.h
@@ -10,6 +10,7 @@
#define dom_html_image_element_h_
#include <stdbool.h>
+#include <dom/inttypes.h>
#include <dom/core/exceptions.h>
#include <dom/core/string.h>
@@ -59,28 +60,28 @@ dom_exception dom_html_image_element_set_use_map(
dom_html_image_element *image, dom_string *use_map);
dom_exception dom_html_image_element_get_height(
- dom_html_image_element *image, int32_t *height);
+ dom_html_image_element *image, dom_ulong *height);
dom_exception dom_html_image_element_set_height(
- dom_html_image_element *image, uint32_t height);
+ dom_html_image_element *image, dom_ulong height);
dom_exception dom_html_image_element_get_hspace(
- dom_html_image_element *image, int32_t *hspace);
+ dom_html_image_element *image, dom_ulong *hspace);
dom_exception dom_html_image_element_set_hspace(
- dom_html_image_element *image, uint32_t hspace);
+ dom_html_image_element *image, dom_ulong hspace);
dom_exception dom_html_image_element_get_vspace(
- dom_html_image_element *image, int32_t *vspace);
+ dom_html_image_element *image, dom_ulong *vspace);
dom_exception dom_html_image_element_set_vspace(
- dom_html_image_element *image, uint32_t vspace);
+ dom_html_image_element *image, dom_ulong vspace);
dom_exception dom_html_image_element_get_width(
- dom_html_image_element *image, int32_t *width);
+ dom_html_image_element *image, dom_ulong *width);
dom_exception dom_html_image_element_set_width(
- dom_html_image_element *image, uint32_t width);
+ dom_html_image_element *image, dom_ulong width);
dom_exception dom_html_image_element_get_is_map(
dom_html_image_element *ele, bool *is_map);