Skip to content

Commit 0d2453a

Browse files
authored
fix SDLNet_Linked_Version
1 parent 8a90fd7 commit 0d2453a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdl2_net.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ procedure SDL_NET_VERSION(Out X: TSDL_Version);
7070
it should NOT be used to fill a version structure, instead you should
7171
use the SDL_NET_VERSION() macro.
7272
*}
73-
procedure SDLNet_Linked_Version() cdecl; external SDLNet_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDLNet_Linked_Version' {$ENDIF} {$ENDIF};
73+
function SDLNet_Linked_Version: PSDL_Version cdecl; external SDLNet_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDLNet_Linked_Version' {$ENDIF} {$ENDIF};
7474

7575
{* Initialize/Cleanup the network API
7676
SDL must be initialized before calls to functions in this library,

0 commit comments

Comments
 (0)