Actually we should translate SDL_bool by TSDL_Bool. This will generate compiler errors in situations as shown below:
(from sdl2.pas)
function SDL_VERSION_ATLEAST(X,Y,Z: cuint8): Boolean;
begin
Result := SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X,Y,Z);
end;
How should we handle or fix this?