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 /src/html | |
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 'src/html')
-rw-r--r-- | src/html/html_image_element.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/html/html_image_element.c b/src/html/html_image_element.c index 77bdd27..fe20cfa 100644 --- a/src/html/html_image_element.c +++ b/src/html/html_image_element.c @@ -167,58 +167,58 @@ SIMPLE_GET_SET(src); SIMPLE_GET_SET(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) { - return dom_html_element_get_int32_t_property(&image->base, "height", + return dom_html_element_get_dom_ulong_property(&image->base, "height", SLEN("height"), 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) { - return dom_html_element_set_int32_t_property(&image->base, "height", + return dom_html_element_set_dom_ulong_property(&image->base, "height", SLEN("height"), 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) { - return dom_html_element_get_int32_t_property(&image->base, "hspace", + return dom_html_element_get_dom_ulong_property(&image->base, "hspace", SLEN("hspace"), 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) { - return dom_html_element_set_int32_t_property(&image->base, "hspace", + return dom_html_element_set_dom_ulong_property(&image->base, "hspace", SLEN("hspace"), 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) { - return dom_html_element_get_int32_t_property(&image->base, "vspace", + return dom_html_element_get_dom_ulong_property(&image->base, "vspace", SLEN("cspace"), 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) { - return dom_html_element_set_int32_t_property(&image->base, "vspace", + return dom_html_element_set_dom_ulong_property(&image->base, "vspace", SLEN("vsapce"), 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) { - return dom_html_element_get_int32_t_property(&image->base, "width", + return dom_html_element_get_dom_ulong_property(&image->base, "width", SLEN("width"), 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) { - return dom_html_element_set_int32_t_property(&image->base, "width", + return dom_html_element_set_dom_ulong_property(&image->base, "width", SLEN("width"), width); } |