aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-05-13 16:09:04 +0100
committerGinger Bill <bill@gingerbill.org>2017-05-13 16:09:04 +0100
commit807e17207a7dc226d4eab60135b28d3cc47da19d (patch)
tree7a98e7ef6e33cd06585eaefa9a29ab2110faddf2
parent3e18f5f05782435c0410503a1d91e669d2bdffbf (diff)
parent9637cc5690770688489f2d12345da0836eb4d783 (diff)
Merge branch 'master' of https://github.com/gingerBill/Odin
-rw-r--r--core/raw.odin10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/raw.odin b/core/raw.odin
index 82937ad41..0ad7af7b8 100644
--- a/core/raw.odin
+++ b/core/raw.odin
@@ -1,27 +1,27 @@
-Any :: struct {
+Any :: struct #ordered {
data: rawptr,
type_info: ^Type_Info,
}
-String :: struct {
+String :: struct #ordered {
data: ^byte,
len: int,
};
-Slice :: struct {
+Slice :: struct #ordered {
data: rawptr,
len: int,
cap: int,
};
-Dynamic_Array :: struct {
+Dynamic_Array :: struct #ordered {
data: rawptr,
len: int,
cap: int,
allocator: Allocator,
};
-Dynamic_Map :: struct {
+Dynamic_Map :: struct #ordered {
hashes: [dynamic]int,
entries: Dynamic_Array,
};