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é


Reply via email to