Open madsmtm opened 3 months ago
Swift doesn't make a distinction between NSInteger
and NSUInteger
when importing methods, though they do so when importing other signed/unsigned C types, so maybe we should handle pointer-sized types specially here?
Fixes https://github.com/madsmtm/objc2/issues/566.
Unsure if this is the correct path forwards.
Do signed-ness ever matter ABI-wise? The Rust docs says on ABI of
i32
vsu32
:But is that relevant for any platforms we target? And does it matter for types like
usize
/isize
, which won't have remaining bits left in any registers?