[Core] Standardise number types to int32_t for array indices, lengths and capacities (#152)

This commit is contained in:
Nic Barker 2025-01-03 11:24:32 +13:00 committed by GitHub
parent a44423a133
commit cf12cd6af8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 227 additions and 226 deletions

View file

@ -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.