Pascal style declaration grouping with ()

This commit is contained in:
Ginger Bill
2017-06-12 15:42:21 +01:00
parent 2ab0d97573
commit 6b5e9aec8e
24 changed files with 2595 additions and 2470 deletions
+25 -23
View File
@@ -1,27 +1,29 @@
type Any struct #ordered {
data: rawptr,
type_info: ^TypeInfo,
};
type (
Any struct #ordered {
data: rawptr,
type_info: ^TypeInfo,
};
type String struct #ordered {
data: ^u8,
len: int,
};
String struct #ordered {
data: ^u8,
len: int,
};
type Slice struct #ordered {
data: rawptr,
len: int,
cap: int,
};
Slice struct #ordered {
data: rawptr,
len: int,
cap: int,
};
type DynamicArray struct #ordered {
data: rawptr,
len: int,
cap: int,
allocator: Allocator,
};
DynamicArray struct #ordered {
data: rawptr,
len: int,
cap: int,
allocator: Allocator,
};
type DynamicMap struct #ordered {
hashes: [dynamic]int,
entries: DynamicArray,
};
DynamicMap struct #ordered {
hashes: [dynamic]int,
entries: DynamicArray,
};
)