mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-22 00:41:14 +00:00
Updated source to match SDL function prototype style
This commit is contained in:
@@ -31,8 +31,7 @@ int Android_SetClipboardText(SDL_VideoDevice *_this, const char *text)
|
||||
return Android_JNI_SetClipboardText(text);
|
||||
}
|
||||
|
||||
char *
|
||||
Android_GetClipboardText(SDL_VideoDevice *_this)
|
||||
char *Android_GetClipboardText(SDL_VideoDevice *_this)
|
||||
{
|
||||
return Android_JNI_GetClipboardText();
|
||||
}
|
||||
|
||||
@@ -44,8 +44,7 @@ int Android_GLES_MakeCurrent(SDL_VideoDevice *_this, SDL_Window *window, SDL_GLC
|
||||
}
|
||||
}
|
||||
|
||||
SDL_GLContext
|
||||
Android_GLES_CreateContext(SDL_VideoDevice *_this, SDL_Window *window)
|
||||
SDL_GLContext Android_GLES_CreateContext(SDL_VideoDevice *_this, SDL_Window *window)
|
||||
{
|
||||
SDL_GLContext ret;
|
||||
|
||||
|
||||
@@ -336,14 +336,12 @@ int Android_OnKeyUp(int keycode)
|
||||
return SDL_SendKeyboardKey(0, SDL_RELEASED, TranslateKeycode(keycode));
|
||||
}
|
||||
|
||||
SDL_bool
|
||||
Android_HasScreenKeyboardSupport(SDL_VideoDevice *_this)
|
||||
SDL_bool Android_HasScreenKeyboardSupport(SDL_VideoDevice *_this)
|
||||
{
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
||||
SDL_bool
|
||||
Android_IsScreenKeyboardShown(SDL_VideoDevice *_this, SDL_Window *window)
|
||||
SDL_bool Android_IsScreenKeyboardShown(SDL_VideoDevice *_this, SDL_Window *window)
|
||||
{
|
||||
return Android_JNI_IsScreenKeyboardShown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user