diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-10-25 09:08:35 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-10-25 09:08:35 +0000 |
commit | 3963f406d9139eec74f537378c46ca04dfaf4e59 (patch) | |
tree | d0e26eb037c8b135c961f445f47b372d221c4dec /include | |
parent | 4e870f668f3252d61d206f6648bce9cef1f66545 (diff) | |
download | libdom-3963f406d9139eec74f537378c46ca04dfaf4e59.tar.gz libdom-3963f406d9139eec74f537378c46ca04dfaf4e59.tar.bz2 |
Update the image element API to use dom_ulong where apropriate
Diffstat (limited to 'include')
-rw-r--r-- | include/dom/html/html_image_element.h | 17 |
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); |