summaryrefslogtreecommitdiff
path: root/include/dom/html
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-04-24 22:04:52 +0100
committerVincent Sanders <vince@kyllikki.org>2020-04-24 22:04:52 +0100
commit2a1757b686dd9c063404418708c57ded292ebde6 (patch)
tree11c0a0a21abb3602313947135dd3090c9b18da62 /include/dom/html
parent65af1490bbabe62b0dbe22a84c1ef3d67a626d59 (diff)
downloadlibdom-2a1757b686dd9c063404418708c57ded292ebde6.tar.gz
libdom-2a1757b686dd9c063404418708c57ded292ebde6.tar.bz2
Fix HTMLCanvasElement types for width and height attributes
Diffstat (limited to 'include/dom/html')
-rw-r--r--include/dom/html/html_canvas_element.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/dom/html/html_canvas_element.h b/include/dom/html/html_canvas_element.h
index 3da9127..29c7668 100644
--- a/include/dom/html/html_canvas_element.h
+++ b/include/dom/html/html_canvas_element.h
@@ -8,7 +8,7 @@
#ifndef dom_html_canvas_element_h_
#define dom_html_canvas_element_h_
-#include <stdbool.h>
+#include <dom/inttypes.h>
#include <dom/core/exceptions.h>
#include <dom/html/html_document.h>
@@ -16,16 +16,16 @@
typedef struct dom_html_canvas_element dom_html_canvas_element;
dom_exception dom_html_canvas_element_get_width(
- dom_html_canvas_element *object, int32_t *width);
+ dom_html_canvas_element *object, dom_ulong *width);
dom_exception dom_html_canvas_element_set_width(
- dom_html_canvas_element *object, uint32_t width);
+ dom_html_canvas_element *object, dom_ulong width);
dom_exception dom_html_canvas_element_get_height(
- dom_html_canvas_element *object, int32_t *height);
+ dom_html_canvas_element *object, dom_ulong *height);
dom_exception dom_html_canvas_element_set_height(
- dom_html_canvas_element *object, uint32_t height);
+ dom_html_canvas_element *object, dom_ulong height);
#endif