aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-10-15 16:05:42 +0100
committergingerBill <bill@gingerbill.org>2017-10-15 16:05:42 +0100
commit3d8bf36a304f3500840d4e2a990e78d15da70cb1 (patch)
tree718153c089e1a959510af7fc259b5b66a1589fb1 /src/entity.cpp
parent85f7c2d040e44e09c77da86b42aaf172666b73cf (diff)
`foreign export` block
``` foreign export { my_i32: i32; my_foo :: proc() -> i32 { return 123; } } ```
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index b4ffc300b..68985e051 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -46,6 +46,7 @@ enum EntityFlag {
EntityFlag_CVarArg = 1<<20,
+ EntityFlag_ForeignExport = 1<<23,
};
// Zero value means the overloading process is not yet done