mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
[Core] Standardise number types to int32_t for array indices, lengths and capacities (#152)
This commit is contained in:
parent
a44423a133
commit
cf12cd6af8
17 changed files with 227 additions and 226 deletions
|
|
@ -18,7 +18,7 @@ when ODIN_OS == .Windows {
|
|||
}
|
||||
|
||||
String :: struct {
|
||||
length: c.int,
|
||||
length: c.int32_t,
|
||||
chars: [^]c.char,
|
||||
}
|
||||
|
||||
|
|
@ -258,8 +258,8 @@ LayoutConfig :: struct {
|
|||
}
|
||||
|
||||
ClayArray :: struct($type: typeid) {
|
||||
capacity: u32,
|
||||
length: u32,
|
||||
capacity: i32,
|
||||
length: i32,
|
||||
internalArray: [^]type,
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue