Remove := with var and :: with const

This commit is contained in:
Ginger Bill
2017-06-12 11:48:12 +01:00
parent c2c935ba81
commit 8fafdb185c
31 changed files with 3264 additions and 3502 deletions
+5 -5
View File
@@ -1,27 +1,27 @@
Any :: struct #ordered {
const Any = struct #ordered {
data: rawptr,
type_info: ^TypeInfo,
}
String :: struct #ordered {
const String = struct #ordered {
data: ^u8,
len: int,
};
Slice :: struct #ordered {
const Slice = struct #ordered {
data: rawptr,
len: int,
cap: int,
};
DynamicArray :: struct #ordered {
const DynamicArray = struct #ordered {
data: rawptr,
len: int,
cap: int,
allocator: Allocator,
};
DynamicMap :: struct #ordered {
const DynamicMap = struct #ordered {
hashes: [dynamic]int,
entries: DynamicArray,
};