Skip to content

Commit e7a09e4

Browse files
Fix: adds 2 missing cdecl's
1 parent 217d95f commit e7a09e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

units/sdlthread.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ type
8282
{ SDL2-for-Pascal #todo : Explanation needed }
8383
TpfnSDL_CurrentBeginThread = function(
8484
SecurityAttributes: Pointer; StackSize: LongWord; ThreadFunc: TThreadFunc;
85-
Parameter: Pointer {arg}; CreationFlags: LongWord; var ThreadId: TThreadID {threadID}): cuintptr_t;
85+
Parameter: Pointer {arg}; CreationFlags: LongWord; var ThreadId: TThreadID {threadID}): cuintptr_t; cdecl;
8686

87-
TpfnSDL_CurrentEndThread = procedure(code: cuint);
87+
TpfnSDL_CurrentEndThread = procedure(code: cuint); cdecl;
8888

8989

9090
function SDL_CreateThread(fn: TSDL_ThreadFunction; name: PAnsiChar;

0 commit comments

Comments
 (0)