C's void func() vs. void func(void).

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 29 18:33:45 PDT 2016


On Friday, 29 July 2016 at 18:24:52 UTC, ag0aep6g wrote:
> On 07/29/2016 02:15 PM, Mike Parker wrote:
>> And if it is a cross-platform library that is stdcall on 
>> Windows and
>> cdecl elsewhere:
>>
>> extern(C) void fun();
>
> extern(System), no?

Yeah, that's what I had intended.


More information about the Digitalmars-d-learn mailing list