extern variables and object-like macro consts

This commit is contained in:
2026-06-17 21:52:05 +02:00
parent f5605fd3ec
commit 19e9fbdd4b
33 changed files with 3136 additions and 116 deletions
@@ -4,4 +4,7 @@ child :: import "../header/include/child.h"
main :: func() void {
_ = native.child_value(1)
_ = child.child_value(2)
native.child_shared_global = 7
child.child_shared_global = native.child_shared_global
_ = native.child_shared_global + child.child_shared_global
}