]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
sdl2: Fix missing integer type for JoystickID
authorMario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
Thu, 31 Oct 2024 14:56:39 +0000 (14:56 +0000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 18 Feb 2025 22:19:50 +0000 (23:19 +0100)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1563

vapi/sdl2.vapi

index c6863da7ca29fac7febbafbf6b10dc2e30f63219..d7b243fb033a2366378ffee942bbd7a96c334346 100644 (file)
@@ -3694,7 +3694,7 @@ namespace SDL {
                [SimpleType]
                [IntegerType (rank = 6)]
                [CCode (cname = "SDL_JoystickID", cheader_filename = "SDL2/SDL_joystick.h")]
-               public struct JoystickID {}// JoystickID
+               public struct JoystickID : int32 {}// JoystickID
 
                [Version (since = "2.0.4")]
                [CCode (cname = "SDL_JoystickPowerLevel", cprefix = "SDL_JOYSTICK_POWER_", cheader_filename = "SDL2/SDL_joystick.h")]