]> 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>
Thu, 31 Oct 2024 16:16:47 +0000 (17:16 +0100)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1563

vapi/sdl2.vapi

index da9296634bf0c62a6a0dc10bd791f14221e4b796..7cb8ab56bb072dbec7187bde1366596f6469db9a 100644 (file)
@@ -3685,7 +3685,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")]