blob: 1049cb94633990c68b23c70e0b74e0fc1fae65c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "c.h"
#undef yy
#define yy \
xx(arm/linux, armIR) \
xx(x86/win32, x86IR) \
xx(x86/linux, x86linuxIR) \
xx(symbolic, symbolicIR) \
xx(bytecode, bytecodeIR) \
xx(null, nullIR)
#undef xx
#define xx(a,b) extern Interface b;
yy
Binding bindings[] = {
#undef xx
#define xx(a,b) #a, &b,
yy
NULL, NULL
};
#undef yy
#undef xx
|