Interfacing with C in 2.066.1

Mike Parker via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 8 03:44:10 PST 2014


On 11/8/2014 8:43 PM, Mike Parker wrote:
> On 11/8/2014 7:03 PM, Jason den Dulk wrote:
>
>>
>> It looks like its trying to access the stuff as D code rather than C
>> code. Can anyone shed some light on what the problem might be?
>
> Anything in an extern(C) block *is* D code. The extern(C) bit just
> affects the name mangling.
>

And the calling convention for functions, actually.


More information about the Digitalmars-d mailing list