Declaring a D pointer to a C function

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Jul 13 08:28:25 PDT 2011


On 7/13/11, Daniel Murphy <yebblies at nospamgmail.com> wrote:
> "Andrej Mitrovic" <andrej.mitrovich at gmail.com> wrote in message
> news:mailman.1569.1310506439.14074.digitalmars-d-learn at puremagic.com...
>> Is this going to be fixed any time soon? Allowing callbacks with D
>> calling convention where a C callback is expected should be an error,
>> and this is like the 10th time I've ran into this bug.
>
> What, the bug that annoyed me so much I fixed it myself?  Yeah, this should
> be gone by the next release.
>

Thanks! I've literally lost an entire day once when I was just
starting using D and C together and had a calling convention mismatch.
:x


More information about the Digitalmars-d-learn mailing list