android: Added SDL_AndroidRequestPermissionAsync.
This commit is contained in:
parent
310f21bf84
commit
af61cfd5e0
7 changed files with 144 additions and 23 deletions
|
@ -972,6 +972,7 @@ SDL3_0.0.0 {
|
|||
SDL_RenderGeometryRawFloat;
|
||||
SDL_SetWindowShape;
|
||||
SDL_RenderViewportSet;
|
||||
SDL_AndroidRequestPermissionAsync;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
@ -997,3 +997,4 @@
|
|||
#define SDL_RenderGeometryRawFloat SDL_RenderGeometryRawFloat_REAL
|
||||
#define SDL_SetWindowShape SDL_SetWindowShape_REAL
|
||||
#define SDL_RenderViewportSet SDL_RenderViewportSet_REAL
|
||||
#define SDL_AndroidRequestPermissionAsync SDL_AndroidRequestPermissionAsync_REAL
|
||||
|
|
|
@ -1022,3 +1022,4 @@ SDL_DYNAPI_PROC(int,SDL_GetRenderColorScale,(SDL_Renderer *a, float *b),(a,b),re
|
|||
SDL_DYNAPI_PROC(int,SDL_RenderGeometryRawFloat,(SDL_Renderer *a, SDL_Texture *b, const float *c, int d, const SDL_FColor *e, int f, const float *g, int h, int i, const void *j, int k, int l),(a,b,c,d,e,f,g,h,i,j,k,l),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_SetWindowShape,(SDL_Window *a, SDL_Surface *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(SDL_bool,SDL_RenderViewportSet,(SDL_Renderer *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_AndroidRequestPermissionAsync,(const char *a, SDL_AndroidRequestPermissionCallback b, void *c),(a,b,c),return)
|
||||
|
|
|
@ -45,4 +45,8 @@ typedef int SDL_WinRT_Path;
|
|||
typedef struct XUserHandle XUserHandle;
|
||||
#endif
|
||||
|
||||
#ifndef SDL_PLATFORM_ANDROID
|
||||
typedef void *SDL_AndroidRequestPermissionCallback;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue