diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-04-21 14:58:33 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-04-21 14:58:33 -0400 |
| commit | 3590bf34071bfdfe4d18bb8b32e4c88869bc5f7b (patch) | |
| tree | 57416b6d0a2f0dafa2b9ea7f56f1452ea1fdbf6e /environment.c | |
| parent | 3f10460a6e04f014d3fe7a911f6afa844f975585 (diff) | |
Better imports for types
Diffstat (limited to 'environment.c')
| -rw-r--r-- | environment.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/environment.c b/environment.c index 08274d8d..05ca510e 100644 --- a/environment.c +++ b/environment.c @@ -49,6 +49,8 @@ env_t *new_compilation_unit(void) CORD struct_val; array_t namespace; } global_types[] = { + {"Void", Type(VoidType), "Void_t", "$Void", {}}, + {"Memory", Type(MemoryType), "Memory_t", "$Memory", {}}, {"Bool", Type(BoolType), "Bool_t", "$Bool", TypedArray(ns_entry_t, {"from_text", "Bool$from_text", "func(text:Text, success=!Bool)->Bool"}, )}, |
