From 6ef3bc5688d8e39aad6d6ed8f53aa5319c8b8725 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sun, 17 Oct 2021 23:40:36 +0200 Subject: [PATCH] Add Dynapi for SDL_AndroidSetInputType() --- src/dynapi/SDL_dynapi_overrides.h | 1 + src/dynapi/SDL_dynapi_procs.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/dynapi/SDL_dynapi_overrides.h b/src/dynapi/SDL_dynapi_overrides.h index 77f434729..947a34f2f 100644 --- a/src/dynapi/SDL_dynapi_overrides.h +++ b/src/dynapi/SDL_dynapi_overrides.h @@ -822,3 +822,4 @@ #define SDL_RenderSetVSync SDL_RenderSetVSync_REAL #define SDL_asprintf SDL_asprintf_REAL #define SDL_vasprintf SDL_vasprintf_REAL +#define SDL_AndroidSetInputType SDL_AndroidSetInputType_REAL diff --git a/src/dynapi/SDL_dynapi_procs.h b/src/dynapi/SDL_dynapi_procs.h index c383ea675..28623e209 100644 --- a/src/dynapi/SDL_dynapi_procs.h +++ b/src/dynapi/SDL_dynapi_procs.h @@ -889,3 +889,6 @@ SDL_DYNAPI_PROC(int,SDL_RenderSetVSync,(SDL_Renderer *a, int b),(a,b),return) SDL_DYNAPI_PROC(int,SDL_asprintf,(char **a, SDL_PRINTF_FORMAT_STRING const char *b, ...),(a,b),return) #endif SDL_DYNAPI_PROC(int,SDL_vasprintf,(char **a, const char *b, va_list c),(a,b,c),return) +#ifdef __ANDROID__ +SDL_DYNAPI_PROC(int,SDL_AndroidSetInputType,(int a),(a),return) +#endif