diff --git a/sdl2_net.pas b/sdl2_net.pas index 827b89c6..5a88bfcc 100644 --- a/sdl2_net.pas +++ b/sdl2_net.pas @@ -70,7 +70,7 @@ procedure SDL_NET_VERSION(Out X: TSDL_Version); it should NOT be used to fill a version structure, instead you should use the SDL_NET_VERSION() macro. *} - procedure SDLNet_Linked_Version() cdecl; external SDLNet_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDLNet_Linked_Version' {$ENDIF} {$ENDIF}; + function SDLNet_Linked_Version: PSDL_Version cdecl; external SDLNet_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDLNet_Linked_Version' {$ENDIF} {$ENDIF}; {* Initialize/Cleanup the network API SDL must be initialized before calls to functions in this library, diff --git a/sdl2_ttf.pas b/sdl2_ttf.pas index 9b60e29b..1f9f129a 100644 --- a/sdl2_ttf.pas +++ b/sdl2_ttf.pas @@ -87,7 +87,7 @@ interface it should NOT be used to fill a version structure, instead you should use the SDL_TTF_VERSION() macro. *} -function TTF_Linked_Version: TSDL_Version cdecl; external TTF_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_TTF_Linked_Version' {$ENDIF} {$ENDIF}; +function TTF_Linked_Version: PSDL_Version cdecl; external TTF_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_TTF_Linked_Version' {$ENDIF} {$ENDIF}; {* ZERO WIDTH NO-BREAKSPACE (Unicode byte order mark) *} const