aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-02-05 18:17:55 +0000
committerGinger Bill <bill@gingerbill.org>2017-02-05 18:17:55 +0000
commitb1562edccf9ea972ec8caf5faebea07cf27559bb (patch)
treeb6a0dfa591b33b277c583f287643deaaa213284a /code
parent2a5b674d33e4f483964da119f76038457cd9f1f2 (diff)
Add `types.odin`; Begin work on `map`
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin6
1 files changed, 5 insertions, 1 deletions
diff --git a/code/demo.odin b/code/demo.odin
index beb56b950..edcdaa49f 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -11,7 +11,11 @@
main :: proc() {
- T0 :: struct #align 8 {};
+ Value :: type f32;
+ m0: map[int]Value;
+ m1: map[string]Value;
+ m2: map[f32]Value;
+ // fm: map[128, int]f32;
/*
{