diff options
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/event.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mps/code/event.h b/mps/code/event.h index 590b11978ae..c54193b367d 100644 --- a/mps/code/event.h +++ b/mps/code/event.h | |||
| @@ -118,22 +118,22 @@ extern Word EventKindControl; | |||
| 118 | 118 | ||
| 119 | #define EVENT0(name) NOOP | 119 | #define EVENT0(name) NOOP |
| 120 | /* The following lines were generated with | 120 | /* The following lines were generated with |
| 121 | python -c 'for i in range(1,15): print "#define EVENT%d(name, %s) NOOP" % (i, ", ".join(["p%d" % j for j in range(0, i)]))' | 121 | python -c 'for i in range(1,15): print "#define EVENT%d(name, %s) BEGIN %s END" % (i, ", ".join(["p%d" % j for j in range(0, i)]), " ".join(["UNUSED(p%d);" % j for j in range(0, i)]))' |
| 122 | */ | 122 | */ |
| 123 | #define EVENT1(name, p0) NOOP | 123 | #define EVENT1(name, p0) BEGIN UNUSED(p0); END |
| 124 | #define EVENT2(name, p0, p1) NOOP | 124 | #define EVENT2(name, p0, p1) BEGIN UNUSED(p0); UNUSED(p1); END |
| 125 | #define EVENT3(name, p0, p1, p2) NOOP | 125 | #define EVENT3(name, p0, p1, p2) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); END |
| 126 | #define EVENT4(name, p0, p1, p2, p3) NOOP | 126 | #define EVENT4(name, p0, p1, p2, p3) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); END |
| 127 | #define EVENT5(name, p0, p1, p2, p3, p4) NOOP | 127 | #define EVENT5(name, p0, p1, p2, p3, p4) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); END |
| 128 | #define EVENT6(name, p0, p1, p2, p3, p4, p5) NOOP | 128 | #define EVENT6(name, p0, p1, p2, p3, p4, p5) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); END |
| 129 | #define EVENT7(name, p0, p1, p2, p3, p4, p5, p6) NOOP | 129 | #define EVENT7(name, p0, p1, p2, p3, p4, p5, p6) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); END |
| 130 | #define EVENT8(name, p0, p1, p2, p3, p4, p5, p6, p7) NOOP | 130 | #define EVENT8(name, p0, p1, p2, p3, p4, p5, p6, p7) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); UNUSED(p7); END |
| 131 | #define EVENT9(name, p0, p1, p2, p3, p4, p5, p6, p7, p8) NOOP | 131 | #define EVENT9(name, p0, p1, p2, p3, p4, p5, p6, p7, p8) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); UNUSED(p7); UNUSED(p8); END |
| 132 | #define EVENT10(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9) NOOP | 132 | #define EVENT10(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); UNUSED(p7); UNUSED(p8); UNUSED(p9); END |
| 133 | #define EVENT11(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10) NOOP | 133 | #define EVENT11(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); UNUSED(p7); UNUSED(p8); UNUSED(p9); UNUSED(p10); END |
| 134 | #define EVENT12(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11) NOOP | 134 | #define EVENT12(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); UNUSED(p7); UNUSED(p8); UNUSED(p9); UNUSED(p10); UNUSED(p11); END |
| 135 | #define EVENT13(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12) NOOP | 135 | #define EVENT13(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); UNUSED(p7); UNUSED(p8); UNUSED(p9); UNUSED(p10); UNUSED(p11); UNUSED(p12); END |
| 136 | #define EVENT14(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13) NOOP | 136 | #define EVENT14(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13) BEGIN UNUSED(p0); UNUSED(p1); UNUSED(p2); UNUSED(p3); UNUSED(p4); UNUSED(p5); UNUSED(p6); UNUSED(p7); UNUSED(p8); UNUSED(p9); UNUSED(p10); UNUSED(p11); UNUSED(p12); UNUSED(p13); END |
| 137 | 137 | ||
| 138 | 138 | ||
| 139 | #endif /* EVENT */ | 139 | #endif /* EVENT */ |