What is the wrong with my C++ interfacing

drug drug2004 at bk.ru
Sun Mar 15 21:04:33 UTC 2020


15.03.2020 23:53, Ferhat Kurtulmuş пишет:
> 
> I doubt it because in 
> https://dlang.org/spec/cpp_interface.html#using_cpp_classes_from_d
> 
> cpp code:
> Derived *createInstance(int i)
> 
> d code:
> extern (C++){
>      ...
>      Derived createInstance(int i);
> }
> 
> 
Ah, really, you use classes on D side.




More information about the Digitalmars-d-learn mailing list