From 883509fc84b4d950c429516c00fe68016d532536 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 1 Oct 2020 17:01:00 +0300 Subject: [PATCH] ran gendynapi.pl after new (android-only) api additions. --- src/dynapi/SDL_dynapi_overrides.h | 2 ++ src/dynapi/SDL_dynapi_procs.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/dynapi/SDL_dynapi_overrides.h b/src/dynapi/SDL_dynapi_overrides.h index 5223a6cbd..bbdc9da99 100644 --- a/src/dynapi/SDL_dynapi_overrides.h +++ b/src/dynapi/SDL_dynapi_overrides.h @@ -765,3 +765,5 @@ #define SDL_trunc SDL_trunc_REAL #define SDL_truncf SDL_truncf_REAL #define SDL_GetPreferredLocales SDL_GetPreferredLocales_REAL +#define SDL_AndroidRequestPermission SDL_AndroidRequestPermission_REAL +#define SDL_AndroidOpenURL SDL_AndroidOpenURL_REAL diff --git a/src/dynapi/SDL_dynapi_procs.h b/src/dynapi/SDL_dynapi_procs.h index 90d207562..885d17729 100644 --- a/src/dynapi/SDL_dynapi_procs.h +++ b/src/dynapi/SDL_dynapi_procs.h @@ -824,3 +824,7 @@ SDL_DYNAPI_PROC(void,SDL_Metal_GetDrawableSize,(SDL_Window *a, int *b, int *c),( SDL_DYNAPI_PROC(double,SDL_trunc,(double a),(a),return) SDL_DYNAPI_PROC(float,SDL_truncf,(float a),(a),return) SDL_DYNAPI_PROC(SDL_Locale *,SDL_GetPreferredLocales,(void),(),return) +#ifdef __ANDROID__ +SDL_DYNAPI_PROC(SDL_bool,SDL_AndroidRequestPermission,(const char *a),(a),return) +SDL_DYNAPI_PROC(int,SDL_AndroidOpenURL,(const char *a),(a),return) +#endif