Use specific types in public headers (#9205)

Uses specific typedef'd types instead of generic integral types where applicable.
This commit is contained in:
Susko3
2024-03-06 01:52:15 +01:00
committed by GitHub
parent db24560387
commit e268cdbec6
2 changed files with 33 additions and 33 deletions

View File

@@ -56,9 +56,9 @@ extern "C" {
typedef Uint32 SDL_PenID; /**< SDL_PenIDs identify pens uniquely within a session */
#define SDL_PEN_INVALID ((Uint32)0) /**< Reserved invalid ::SDL_PenID is valid */
#define SDL_PEN_INVALID ((SDL_PenID)0) /**< Reserved invalid ::SDL_PenID is valid */
#define SDL_PEN_MOUSEID ((Uint32)-2) /**< Device ID for mouse events triggered by pen events */
#define SDL_PEN_MOUSEID ((SDL_PenID)-2) /**< Device ID for mouse events triggered by pen events */
#define SDL_PEN_INFO_UNKNOWN (-1) /**< Marks unknown information when querying the pen */