Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #26 from klickverbot/fp-types
Browse files Browse the repository at this point in the history
Don't mix function pointer CCs, even for void function().
  • Loading branch information
schveiguy committed Jul 12, 2011
2 parents 54c5c78 + ab59851 commit 0edf9ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/sys/windows/threadaux.d
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ private:
}

// execute function on the TLS for the given thread
static void impersonate_thread( uint id, void function() fn )
alias extern(C) void function() externCVoidFunc;
static void impersonate_thread( uint id, externCVoidFunc fn )
{
if( id == GetCurrentThreadId() )
{
Expand Down

0 comments on commit 0edf9ff

Please sign in to comment.