We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 217d95f commit e7a09e4Copy full SHA for e7a09e4
units/sdlthread.inc
@@ -82,9 +82,9 @@ type
82
{ SDL2-for-Pascal #todo : Explanation needed }
83
TpfnSDL_CurrentBeginThread = function(
84
SecurityAttributes: Pointer; StackSize: LongWord; ThreadFunc: TThreadFunc;
85
- Parameter: Pointer {arg}; CreationFlags: LongWord; var ThreadId: TThreadID {threadID}): cuintptr_t;
+ Parameter: Pointer {arg}; CreationFlags: LongWord; var ThreadId: TThreadID {threadID}): cuintptr_t; cdecl;
86
87
- TpfnSDL_CurrentEndThread = procedure(code: cuint);
+ TpfnSDL_CurrentEndThread = procedure(code: cuint); cdecl;
88
89
90
function SDL_CreateThread(fn: TSDL_ThreadFunction; name: PAnsiChar;
0 commit comments