Is it possible to call D functions from C++

krzaq via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 18 08:54:02 PDT 2015


On Wednesday, 18 March 2015 at 15:51:28 UTC, Benjamin Thaut wrote:
> On Wednesday, 18 March 2015 at 14:40:48 UTC, krzaq wrote:
>>
>> I'm pretty sure the OP wanted to call D functions from C++, 
>> not C++ functions from D.
>
> If you look very closely you will notice that my example does 
> exactly what the OP wanted.

Oh, right. I'm sorry, I assumed void main() means D, since it's 
not legit C++.


More information about the Digitalmars-d mailing list