diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-17 14:41:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-17 14:41:31 -0400 |
| commit | cbe117a6d3c1f9e9167b671c752cde978c4ea8d1 (patch) | |
| tree | 4d1ae5462d7668b0c0291a9b45bf4cc1e596a37e /environment.h | |
| parent | bac188ce07b957807d4c649cb5d4e5e253360278 (diff) | |
Allow for top-level or namespace-level variables that are initialized
with non-constant values by the use of an initializer function and
runtime checks for whether the variable is initialized.
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.h b/environment.h index 3957bd13..edaff809 100644 --- a/environment.h +++ b/environment.h @@ -12,6 +12,7 @@ typedef struct { CORD staticdefs; CORD funcs; CORD typeinfos; + CORD variable_initializers; } compilation_unit_t; typedef struct fn_ctx_s { |
