On 2020-06-26 18:54, Denis wrote:
OK, now this makes sense.I tested calling the same callback function directly from D: it compiled and worked correctly. So at least prefixing the callback function with `extern(C)` doesn't prevent the rest of the D program from calling it too.
No, of course not. How would you otherwise call your `cfunc` function from your original example ;)
-- /Jacob Carlborg