Lines Matching refs:ev
48 #define GEV(ev) ((xGenericEvent*)(ev))
50 #define GEEXT(ev) (GEV(ev)->extension)
53 #define GEEXTIDX(ev) (GEEXT(ev) & 0x7F)
65 #define GEEventFill(ev) \
66 GEExtensions[GEEXTIDX(ev)].evfill
68 #define GEIsType(ev, ext, ev_type) \
69 ((GEV(ev)->type == GenericEvent) && \
70 GEEXT(ev) == (ext) && \
71 GEV(ev)->evtype == (ev_type))
79 extern _X_EXPORT void GEInitEvent(xGenericEvent* ev, int extension);