Description
The source code for these headers uses various data types, with aliases included. I don't know exactly how many of them there are, but some of them don't have declared pointer equivalents, so you have to declare them yourself, apart from the code of the headers library.
One such example is TSDL_JoystickPowerState
. This is a dedicated integer type, but there is no pointer equivalent — there is no PSDL_JoystickPowerLevel
declared anywhere. A good practice would be to add missing pointer types to the library for each existing non-pointer data type.
BTW: Why the TSDL_JoystickPowerState
is declared as Integer
?
type
TSDL_JoystickPowerLevel = type Integer;
The same with TSDL_JoystickType
:
type
TSDL_JoystickType = type Integer;
If cint*
and cuint*
types are used everywhere else, it's fine to actually use them everywhere to keep things tidy.