Skip to content

Commit

Permalink
SDL_RequestAndroidPermission() comment: Add link to android permissio…
Browse files Browse the repository at this point in the history
…ns website
  • Loading branch information
Sackzement authored and icculus committed Oct 20, 2024
1 parent eb14515 commit 679dd4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/SDL3/SDL_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,10 @@ typedef void (SDLCALL *SDL_RequestAndroidPermissionCallback)(void *userdata, con
* like memory running out. Normally there will be a yes or no to the request
* through the callback.
*
* For the `permission` parameter, choose a value from here:
*
* https://developer.android.com/reference/android/Manifest.permission
*
* \param permission the permission to request.
* \param cb the callback to trigger when the request has a response.
* \param userdata an app-controlled pointer that is passed to the callback.
Expand Down

0 comments on commit 679dd4b

Please sign in to comment.