Files
Odin/core/raw.odin
T
2017-06-12 12:56:47 +01:00

28 lines
406 B
Odin

type Any struct #ordered {
data: rawptr,
type_info: ^TypeInfo,
};
type String struct #ordered {
data: ^u8,
len: int,
};
type Slice struct #ordered {
data: rawptr,
len: int,
cap: int,
};
type DynamicArray struct #ordered {
data: rawptr,
len: int,
cap: int,
allocator: Allocator,
};
type DynamicMap struct #ordered {
hashes: [dynamic]int,
entries: DynamicArray,
};