summaryrefslogtreecommitdiff
path: root/src/tools/lcc/src/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/lcc/src/bind.c')
-rw-r--r--src/tools/lcc/src/bind.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/lcc/src/bind.c b/src/tools/lcc/src/bind.c
new file mode 100644
index 0000000..bc7b983
--- /dev/null
+++ b/src/tools/lcc/src/bind.c
@@ -0,0 +1,8 @@
+#include "c.h"
+extern Interface nullIR;
+extern Interface bytecodeIR;
+Binding bindings[] = {
+ { "null", &nullIR },
+ { "bytecode", &bytecodeIR },
+ { NULL, NULL },
+};