1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
Copied from Perforce
 Change: 18878
 ServerID: perforce.ravenbrook.com
This commit is contained in:
David Jones 1997-10-14 13:54:45 +01:00
parent 104a8cdf33
commit 0595f9e969

View file

@ -1,7 +1,7 @@
/* impl.h.eventgen -- Automatic event header
*
* Copyright (C) 1997 Harlequin Group, all rights reserved.
* $HopeName: MMsrc!eventgen.h(trunk.2) $
* $HopeName$
*
* !!! DO NOT EDIT THIS FILE !!!
* This file was generated by eventgen.pl
@ -55,16 +55,6 @@ typedef struct {
void * p1;
} EventPPStruct;
typedef struct {
Word code;
Word length;
Word clock;
void * p0;
void * p1;
struct AddrStruct * a2;
struct AddrStruct * a3;
} EventPPAAStruct;
typedef struct {
Word code;
Word length;
@ -95,26 +85,6 @@ typedef struct {
void * p2;
} EventPPPStruct;
typedef struct {
Word code;
Word length;
Word clock;
void * p0;
void * p1;
void * p2;
void * p3;
} EventPPPPStruct;
typedef struct {
Word code;
Word length;
Word clock;
void * p0;
void * p1;
void * p2;
unsigned u3;
} EventPPPUStruct;
typedef struct {
Word code;
Word length;
@ -144,6 +114,15 @@ typedef struct {
Word w4;
} EventPPWAWStruct;
typedef struct {
Word code;
Word length;
Word clock;
void * p0;
Word w1;
Word w2;
} EventPWWStruct;
typedef struct {
Word code;
Word length;
@ -163,15 +142,13 @@ typedef union {
EventPAAStruct paa;
EventPAWStruct paw;
EventPPStruct pp;
EventPPAAStruct ppaa;
EventPPAUStruct ppau;
EventPPAWPStruct ppawp;
EventPPPStruct ppp;
EventPPPPStruct pppp;
EventPPPUStruct pppu;
EventPPUStruct ppu;
EventPPWStruct ppw;
EventPPWAWStruct ppwaw;
EventPWWStruct pww;
EventUUPPPStruct uuppp;
} EventUnion;
@ -225,17 +202,6 @@ typedef union {
EVENT_END(type, _length); \
END
#define EVENT_PPAA(type, _p0, _p1, _a2, _a3) \
BEGIN \
size_t _length = sizeof(EventPPAAStruct); \
EVENT_BEGIN(type, PPAA, _length); \
Event.ppaa.p0 = (_p0); \
Event.ppaa.p1 = (_p1); \
Event.ppaa.a2 = (_a2); \
Event.ppaa.a3 = (_a3); \
EVENT_END(type, _length); \
END
#define EVENT_PPAU(type, _p0, _p1, _a2, _u3) \
BEGIN \
size_t _length = sizeof(EventPPAUStruct); \
@ -269,28 +235,6 @@ typedef union {
EVENT_END(type, _length); \
END
#define EVENT_PPPP(type, _p0, _p1, _p2, _p3) \
BEGIN \
size_t _length = sizeof(EventPPPPStruct); \
EVENT_BEGIN(type, PPPP, _length); \
Event.pppp.p0 = (_p0); \
Event.pppp.p1 = (_p1); \
Event.pppp.p2 = (_p2); \
Event.pppp.p3 = (_p3); \
EVENT_END(type, _length); \
END
#define EVENT_PPPU(type, _p0, _p1, _p2, _u3) \
BEGIN \
size_t _length = sizeof(EventPPPUStruct); \
EVENT_BEGIN(type, PPPU, _length); \
Event.pppu.p0 = (_p0); \
Event.pppu.p1 = (_p1); \
Event.pppu.p2 = (_p2); \
Event.pppu.u3 = (_u3); \
EVENT_END(type, _length); \
END
#define EVENT_PPU(type, _p0, _p1, _u2) \
BEGIN \
size_t _length = sizeof(EventPPUStruct); \
@ -323,6 +267,16 @@ typedef union {
EVENT_END(type, _length); \
END
#define EVENT_PWW(type, _p0, _w1, _w2) \
BEGIN \
size_t _length = sizeof(EventPWWStruct); \
EVENT_BEGIN(type, PWW, _length); \
Event.pww.p0 = (_p0); \
Event.pww.w1 = (_w1); \
Event.pww.w2 = (_w2); \
EVENT_END(type, _length); \
END
#define EVENT_UUPPP(type, _u0, _u1, _p2, _p3, _p4) \
BEGIN \
size_t _length = sizeof(EventUUPPPStruct); \
@ -341,16 +295,14 @@ typedef union {
#define EventFormatPAA 3
#define EventFormatPAW 4
#define EventFormatPP 5
#define EventFormatPPAA 6
#define EventFormatPPAU 7
#define EventFormatPPAWP 8
#define EventFormatPPP 9
#define EventFormatPPPP 10
#define EventFormatPPPU 11
#define EventFormatPPU 12
#define EventFormatPPW 13
#define EventFormatPPWAW 14
#define EventFormatUUPPP 15
#define EventFormatPPAU 6
#define EventFormatPPAWP 7
#define EventFormatPPP 8
#define EventFormatPPU 9
#define EventFormatPPW 10
#define EventFormatPPWAW 11
#define EventFormatPWW 12
#define EventFormatUUPPP 13
#else /* EVENT not */
@ -360,15 +312,13 @@ typedef union {
#define EVENT_PAA(type, p0, p1, p2) NOOP
#define EVENT_PAW(type, p0, p1, p2) NOOP
#define EVENT_PP(type, p0, p1) NOOP
#define EVENT_PPAA(type, p0, p1, p2, p3) NOOP
#define EVENT_PPAU(type, p0, p1, p2, p3) NOOP
#define EVENT_PPAWP(type, p0, p1, p2, p3, p4) NOOP
#define EVENT_PPP(type, p0, p1, p2) NOOP
#define EVENT_PPPP(type, p0, p1, p2, p3) NOOP
#define EVENT_PPPU(type, p0, p1, p2, p3) NOOP
#define EVENT_PPU(type, p0, p1, p2) NOOP
#define EVENT_PPW(type, p0, p1, p2) NOOP
#define EVENT_PPWAW(type, p0, p1, p2, p3, p4) NOOP
#define EVENT_PWW(type, p0, p1, p2) NOOP
#define EVENT_UUPPP(type, p0, p1, p2, p3, p4) NOOP
#endif /* EVENT */