Interfacing with C++

Timothee Cour thelastmammoth at gmail.com
Sun Feb 4 20:03:08 UTC 2018


Calypso (https://github.com/Syniurge/Calypso/) is the most promising
way to interface with C++, it requires 0 bindings and understands all
of C++ (templates etc); there are some caveats/kinks that are being
ironed out (and any help is welcome).


On Sun, Feb 4, 2018 at 4:37 AM, rjframe via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> On Sun, 04 Feb 2018 08:33:20 +0000, Mike Parker wrote:
>
>> Though, I'm curious why anyone would want to declare a callback in a C++
>> program as cdecl only on Windows and use the default C++
>> convention everywhere else. I suggest you dig into it and make sure
>> that's what's intended. And good luck binding to OpenCV!
>
> My guess would be that it's to prevent name mangling of functions in a
> generated DLL and the need for a DEF file.


More information about the Digitalmars-d-learn mailing list