Skip to content

Commit 58f6ccd

Browse files
authored
Merge pull request #70 from piXelicidio/updates2
File paths Functions should return PAnsiChar instead of PChar
2 parents 790b82b + 66b3046 commit 58f6ccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdlfilesystem.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* \sa SDL_GetPrefPath
2424
*}
25-
function SDL_GetBasePath(): PChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetBasePath' {$ENDIF} {$ENDIF};
25+
function SDL_GetBasePath(): PAnsiChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetBasePath' {$ENDIF} {$ENDIF};
2626
2727
{**
2828
* \brief Get the user-and-app-specific path where files can be written.
@@ -85,4 +85,4 @@ function SDL_GetBasePath(): PChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$
8585
*
8686
* \sa SDL_GetBasePath
8787
*}
88-
function SDL_GetPrefPath(const org: PAnsiChar; const app: PAnsiChar): PChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetPrefPath' {$ENDIF} {$ENDIF};
88+
function SDL_GetPrefPath(const org: PAnsiChar; const app: PAnsiChar): PAnsiChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetPrefPath' {$ENDIF} {$ENDIF};

0 commit comments

Comments
 (0)