[vala-extra-vapis] sdl2: Keycode and Keymod are located in SDL_keycode.h



commit d8af1fc6e50494219594e56cc22f5278d5a4b8a5
Author: vuvk <panknd mail ru>
Date:   Wed May 20 07:17:56 2020 +0200

    sdl2: Keycode and Keymod are located in SDL_keycode.h

 sdl2.vapi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sdl2.vapi b/sdl2.vapi
index afca827..251c9cc 100644
--- a/sdl2.vapi
+++ b/sdl2.vapi
@@ -2791,7 +2791,7 @@ namespace SDL {
                        RELEASED, PRESSED;
                }// ButtonState
 
-               [CCode (cname = "SDL_Keycode", cprefix = "SDLK_", cheader_filename = "SDL2/SDL_keyboard.h")]
+               [CCode (cname = "SDL_Keycode", cprefix = "SDLK_", cheader_filename = "SDL2/SDL_keycode.h")]
                public enum Keycode {
                        UNKNOWN, RETURN, ESCAPE, BACKSPACE, TAB, SPACE, EXCLAIM,
                        QUOTEDBL, HASH, PERCENT, DOLLAR, AMPERSAND, QUOTE,
@@ -2828,7 +2828,7 @@ namespace SDL {
                        KBDILLUMTOGGLE, KBDILLUMDOWN, KBDILLUMUP, EJECT, SLEEP
                }// Keycode
 
-               [CCode (cname = "SDL_Keymod", cprefix = "KMOD_", cheader_filename = "SDL2/SDL_keyboard.h")]
+               [Flags, CCode (cname = "SDL_Keymod", cprefix = "KMOD_", cheader_filename = 
"SDL2/SDL_keycode.h")]
                public enum Keymod {
                        NONE, LSHIFT, RSHIFT, LCTRL, RCTRL, LALT, RALT,
                        LGUI, RGUI, NUM, CAPS, MODE, RESERVED,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]