aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-15 14:42:08 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-15 14:42:08 +0100
commitc5ef5279d4346fe1b38815060303b17159adbc82 (patch)
tree37279f3cf00ba490ec0a42af7b5b347cc4925af7 /src/entity.cpp
parentd3c24d159fbb380393ff6ce9261be734646cb5c4 (diff)
Add foreign variables
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 44464b49c..d6703f5b7 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -84,10 +84,13 @@ struct Entity {
struct {
i32 field_index;
i32 field_src_index;
- bool is_immutable;
- bool is_thread_local;
ExactValue default_value;
bool default_is_nil;
+ bool is_immutable;
+ bool is_thread_local;
+ bool is_foreign;
+ Entity * foreign_library;
+ AstNode * foreign_library_ident;
} Variable;
struct {
bool is_type_alias;