summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-08 11:19:37 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-08 11:19:37 -0500
commit71c7686269a7e854ec5672e1848f6ee39167884c (patch)
tree799a22d8621691ef73a0c66d482761d85c9fbb9e /types.h
parentfea7cb867ec193f2af3a8f61fc8d14c97b85ba83 (diff)
more importing (also turns out export is a keyword in c++)
Diffstat (limited to 'types.h')
-rw-r--r--types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/types.h b/types.h
index 478df17..4c5add0 100644
--- a/types.h
+++ b/types.h
@@ -784,6 +784,11 @@ typedef struct Exporter {
const char *code;
} Exporter;
+typedef struct Importer {
+ FILE *in;
+ Package *pkg;
+} Importer;
+
typedef struct CGenerator {
Allocator *allocr;
FILE *outc;