summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vapi/sdl2.vapi11
1 files changed, 1 insertions, 10 deletions
diff --git a/vapi/sdl2.vapi b/vapi/sdl2.vapi
index d0a01095d..c8040acfb 100644
--- a/vapi/sdl2.vapi
+++ b/vapi/sdl2.vapi
@@ -3561,16 +3561,7 @@ namespace SDL {
public static Video.Window get_focus ();
[CCode (cname = "SDL_GetKeyboardState")]
- public static unowned uint8* get_raw_state (out int numkeys = null);
-
- [CCode (cname = "vala_get_keyboard_state")]
- public static unowned bool[] get_state () {
- size_t len;
- uint8* raw = get_raw_state (out len);
- unowned bool[] retval = (bool[])raw;
- retval.length = (int)len;
- return retval;
- }
+ public static unowned uint8[] get_state ();
[CCode (cname = "SDL_GetModState")]
public static Input.Keymod get_modifierstate ();