Does D has any support for thunks?
Andre Pany via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jun 25 10:26:03 PDT 2016
On Saturday, 25 June 2016 at 16:05:30 UTC, Vladimir Panteleev
wrote:
> On Saturday, 25 June 2016 at 13:44:48 UTC, Andre Pany wrote:
>> Does D/Phobos has any support for thunks?
>
> Made this a while ago:
>
> http://stackoverflow.com/a/8656294/21501
Thanks, I had a look. Unfortunately it doesn't compile for my use
case.
SetWindowsHookEx expects an "extern(windows)" and "nothrow"
function.
delegate2function does not accept a delegate with
If it is possible to make this coding generic, it would fit into
std.functional.
Kind regards
André
More information about the Digitalmars-d-learn
mailing list