summaryrefslogtreecommitdiff
path: root/include/dom/events/mouse_event.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
commita77488bab4732c30044b04e97d13707e03825bdf (patch)
treec2b056265adfe7acd76596ab5433d2ce7f227cd3 /include/dom/events/mouse_event.h
parentc733e0fbd053ffa80b83839c4114a2a28b3ed2ec (diff)
downloadlibdom-a77488bab4732c30044b04e97d13707e03825bdf.tar.gz
libdom-a77488bab4732c30044b04e97d13707e03825bdf.tar.bz2
unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral fixes. Test suite does not pass
Diffstat (limited to 'include/dom/events/mouse_event.h')
-rw-r--r--include/dom/events/mouse_event.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/dom/events/mouse_event.h b/include/dom/events/mouse_event.h
index 8212c72..9cf84bb 100644
--- a/include/dom/events/mouse_event.h
+++ b/include/dom/events/mouse_event.h
@@ -18,24 +18,24 @@ struct dom_abstract_view;
typedef struct dom_mouse_event dom_mouse_event;
dom_exception _dom_mouse_event_get_screen_x(dom_mouse_event *evt,
- long *x);
+ int32_t *x);
#define dom_mouse_event_get_screen_x(e, x) _dom_mouse_event_get_screen_x(\
- (dom_mouse_event *) (e), (long *) (x))
+ (dom_mouse_event *) (e), (int32_t *) (x))
dom_exception _dom_mouse_event_get_screen_y(dom_mouse_event *evt,
- long *y);
+ int32_t *y);
#define dom_mouse_event_get_screen_y(e, y) _dom_mouse_event_get_screen_y(\
- (dom_mouse_event *) (e), (long *) (y))
+ (dom_mouse_event *) (e), (int32_t *) (y))
dom_exception _dom_mouse_event_get_client_x(dom_mouse_event *evt,
- long *x);
+ int32_t *x);
#define dom_mouse_event_get_client_x(e, x) _dom_mouse_event_get_client_x(\
- (dom_mouse_event *) (e), (long *) (x))
+ (dom_mouse_event *) (e), (int32_t *) (x))
dom_exception _dom_mouse_event_get_client_y(dom_mouse_event *evt,
- long *y);
+ int32_t *y);
#define dom_mouse_event_get_client_y(e, y) _dom_mouse_event_get_client_y(\
- (dom_mouse_event *) (e), (long *) (y))
+ (dom_mouse_event *) (e), (int32_t *) (y))
dom_exception _dom_mouse_event_get_ctrl_key(dom_mouse_event *evt,
bool *key);
@@ -76,32 +76,32 @@ dom_exception _dom_mouse_event_get_modifier_state(dom_mouse_event *evt,
dom_exception _dom_mouse_event_init(dom_mouse_event *evt,
dom_string *type, bool bubble, bool cancelable,
- struct dom_abstract_view *view, long detail, long screen_x,
- long screen_y, long client_x, long client_y, bool ctrl,
+ struct dom_abstract_view *view, int32_t detail, int32_t screen_x,
+ int32_t screen_y, int32_t client_x, int32_t client_y, bool ctrl,
bool alt, bool shift, bool meta, unsigned short button,
dom_event_target *et);
#define dom_mouse_event_init(e, t, b, c, v, d, sx, sy, cx, cy, ctrl, alt, \
shift, meta, button, et) \
_dom_mouse_event_init((dom_mouse_event *) (e), \
(dom_string *) (t), (bool) (b), (bool) (c),\
- (struct dom_abstract_view *) (v), (long) (d), (long) (sx), \
- (long) (sy), (long) (cx), (long) (cy), (bool) (ctrl),\
+ (struct dom_abstract_view *) (v), (int32_t) (d), (int32_t) (sx), \
+ (int32_t) (sy), (int32_t) (cx), (int32_t) (cy), (bool) (ctrl),\
(bool) (alt), (bool) (shift), (bool) (meta), \
(unsigned short) (button), (dom_event_target *) (et))
dom_exception _dom_mouse_event_init_ns(dom_mouse_event *evt,
dom_string *namespace, dom_string *type,
bool bubble, bool cancelable, struct dom_abstract_view *view,
- long detail, long screen_x, long screen_y, long client_x,
- long client_y, bool ctrl, bool alt, bool shift, bool meta,
+ int32_t detail, int32_t screen_x, int32_t screen_y, int32_t client_x,
+ int32_t client_y, bool ctrl, bool alt, bool shift, bool meta,
unsigned short button, dom_event_target *et);
#define dom_mouse_event_init_ns(e, n, t, b, c, v, d, sx, sy, cx, cy, ctrl, alt,\
shift, meta, button, et) \
_dom_mouse_event_init_ns((dom_mouse_event *) (e), \
(dom_string *) (n), (dom_string *) (t),\
(bool) (b), (bool) (c), (struct dom_abstract_view *) (v),\
- (long) (d), (long) (sx), (long) (sy), (long) (cx),\
- (long) (cy), (bool) (ctrl), (bool) (alt), (bool) (shift),\
+ (int32_t) (d), (int32_t) (sx), (int32_t) (sy), (int32_t) (cx),\
+ (int32_t) (cy), (bool) (ctrl), (bool) (alt), (bool) (shift),\
(bool) (meta), (unsigned short) (button),\
(dom_event_target *) (et))