Trying to add C++ header generation to dmd

Jacob Carlborg doob at me.com
Wed Mar 20 17:01:31 UTC 2019


On 2019-03-20 15:26, Gregor Mückl wrote:

> Do these fields extend properly to children? Consider the following code:
> 
> extern(C++) class C
> {
>    int foo(int a, int b);
> }
> 
> Will foo be marked with C++ linkage? 

"foo" will definitely have C++ linkage.

The parameters as well? That would simplify the matter a lot.

Not sure. I don't think that matters in this case.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list