On Wednesday, 5 June 2013 at 18:54:45 UTC, Jesse Phillips wrote:
Not going to look into the file, but I'm pretty sure bsd_signal is function for an external C library right?

If that is the case, it must use C calling convention, so yes this is correct.

Ah sorry i wasn't clear.

The question i have is, why do i need to decorate the function (with extern(C)) that i pass to bsd_signal.

The only reason i can see is that the type hint is decorated but surely it doesn't need to be.

Reply via email to