WinRT: made path retrieval functions return wide-char strings

This commit is contained in:
David Ludwig 2013-02-03 12:34:34 -05:00
parent e14a2fd8b6
commit 31e3d85727
2 changed files with 31 additions and 12 deletions

View file

@ -105,7 +105,7 @@ extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath();
which do not work on Windows Phone 8 (and will return NULL if called
from this platform).
*/
extern DECLSPEC const char * SDLCALL SDL_WinRTGetLocalFolderPath();
extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetLocalFolderPath();
/* Gets the path to the roaming app data store.
Files and directories that should roam to different devices can be
@ -117,7 +117,7 @@ extern DECLSPEC const char * SDLCALL SDL_WinRTGetLocalFolderPath();
as Windows Phone 8 apps do not have an accessible roaming app data
store.
*/
extern DECLSPEC const char * SDLCALL SDL_WinRTGetRoamingFolderPath();
extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetRoamingFolderPath();
/* Gets the path to the temporary app data store.
Files and directories may be written here, however they may be deleted
@ -127,7 +127,7 @@ extern DECLSPEC const char * SDLCALL SDL_WinRTGetRoamingFolderPath();
as Windows Phone 8 apps do not have an accessible temporary app data
store.
*/
extern DECLSPEC const char * SDLCALL SDL_WinRTGetTemporaryFolderPath();
extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetTemporaryFolderPath();
#endif /* __WINRT__ */