From: Mario Daniel Ruiz Saavedra Date: Thu, 31 Oct 2024 14:56:39 +0000 (+0000) Subject: sdl2: Fix missing integer type for JoystickID X-Git-Tag: 0.56.18~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6ce194f7e44487c7a7bbab5356a149101e7e1d0;p=thirdparty%2Fvala.git sdl2: Fix missing integer type for JoystickID Fixes https://gitlab.gnome.org/GNOME/vala/issues/1563 --- diff --git a/vapi/sdl2.vapi b/vapi/sdl2.vapi index c6863da7c..d7b243fb0 100644 --- a/vapi/sdl2.vapi +++ b/vapi/sdl2.vapi @@ -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")]