extern variables and object-like macro consts
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user