mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 17:07:39 +00:00
Fixed a few remaining functions to directly return their values instead of an error code.
This commit is contained in:
parent
1e828eec57
commit
3d2e5a0b66
15 changed files with 91 additions and 123 deletions
|
@ -426,16 +426,14 @@ extern SDL_DECLSPEC const char *SDLCALL SDL_GetAndroidInternalStoragePath(void);
|
|||
*
|
||||
* If external storage is currently unavailable, this will return 0.
|
||||
*
|
||||
* \param state filled with the current state of external storage. 0 if
|
||||
* \returns the current state of external storage, or 0 if
|
||||
* external storage is currently unavailable.
|
||||
* \returns 0 on success or a negative error code on failure; call
|
||||
* SDL_GetError() for more information.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_GetAndroidExternalStoragePath
|
||||
*/
|
||||
extern SDL_DECLSPEC int SDLCALL SDL_GetAndroidExternalStorageState(Uint32 *state);
|
||||
extern SDL_DECLSPEC Uint32 SDLCALL SDL_GetAndroidExternalStorageState(void);
|
||||
|
||||
/**
|
||||
* Get the path used for external storage for this Android application.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue