diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-04-24 22:04:52 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-04-24 22:04:52 +0100 |
commit | 2a1757b686dd9c063404418708c57ded292ebde6 (patch) | |
tree | 11c0a0a21abb3602313947135dd3090c9b18da62 /src/html | |
parent | 65af1490bbabe62b0dbe22a84c1ef3d67a626d59 (diff) | |
download | libdom-2a1757b686dd9c063404418708c57ded292ebde6.tar.gz libdom-2a1757b686dd9c063404418708c57ded292ebde6.tar.bz2 |
Fix HTMLCanvasElement types for width and height attributes
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/html_canvas_element.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/html/html_canvas_element.c b/src/html/html_canvas_element.c index ea9d9c9..2543e5b 100644 --- a/src/html/html_canvas_element.c +++ b/src/html/html_canvas_element.c @@ -150,9 +150,9 @@ dom_exception _dom_html_canvas_element_copy_internal( dom_exception dom_html_canvas_element_get_width(dom_html_canvas_element *canvas, - int32_t *width) + dom_ulong *width) { - return dom_html_element_get_int32_t_property(&canvas->base, + return dom_html_element_get_dom_ulong_property(&canvas->base, "width", SLEN("width"), width); @@ -160,9 +160,9 @@ dom_html_canvas_element_get_width(dom_html_canvas_element *canvas, dom_exception dom_html_canvas_element_set_width(dom_html_canvas_element *canvas, - uint32_t width) + dom_ulong width) { - return dom_html_element_set_int32_t_property(&canvas->base, + return dom_html_element_set_dom_ulong_property(&canvas->base, "width", SLEN("width"), width); @@ -170,9 +170,9 @@ dom_html_canvas_element_set_width(dom_html_canvas_element *canvas, dom_exception dom_html_canvas_element_get_height(dom_html_canvas_element *canvas, - int32_t *height) + dom_ulong *height) { - return dom_html_element_get_int32_t_property(&canvas->base, + return dom_html_element_get_dom_ulong_property(&canvas->base, "height", SLEN("height"), height); @@ -180,9 +180,9 @@ dom_html_canvas_element_get_height(dom_html_canvas_element *canvas, dom_exception dom_html_canvas_element_set_height(dom_html_canvas_element *canvas, - uint32_t height) + dom_ulong height) { - return dom_html_element_set_int32_t_property(&canvas->base, + return dom_html_element_set_dom_ulong_property(&canvas->base, "height", SLEN("height"), height); |