|author||Sam Lantinga <firstname.lastname@example.org>||Sat Oct 01 13:35:36 2016 -0700|
|committer||Sam Lantinga <email@example.com>||Sat Oct 01 13:35:36 2016 -0700|
Fixed bug 3165 - define numbers don't match types in Swift C.W. Betts Swift is very strict with types, so much that those of different signedness/size must be cast. Most of the defines are imported as 32-bit signed integers, while the corresponding field in a struct is a 32-bit unsigned integer. Appending a "u" would cause the defined types to be imported as 32-bit unsigned integers.