-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
evolution-proposedtheme: implementation flawsproblems with the implementation of specific APIsproblems with the implementation of specific APIstheme: the C languageissues related to the way we use the C languageissues related to the way we use the C language
Description
We use the C type long a lot in the C API, which is problem because long varies in size across platforms in a way that is hard to deal with. A long might be 32bit or 64bit on a 64bit platform, which makes for lots of #ifdefs and conditional logic that wouldn't be needed if we used C99 stdint integer types.
Our code is also full of int where we mean int32_t. int is almost always 32 bit, but it is not guaranteed.
arhadthedev, erlend-aasland, carljm and pitrou
Metadata
Metadata
Assignees
Labels
evolution-proposedtheme: implementation flawsproblems with the implementation of specific APIsproblems with the implementation of specific APIstheme: the C languageissues related to the way we use the C languageissues related to the way we use the C language