D & C++ class question
bauss
jj_1337 at live.dk
Wed Nov 28 13:54:22 UTC 2018
On Wednesday, 28 November 2018 at 13:42:43 UTC, Nicholas Wilson
wrote:
> On Wednesday, 28 November 2018 at 13:13:40 UTC, bauss wrote:
>> Well unfortunately I cannot control the C++ side of things,
>> but I assume that it'll work properly with extern(C++) so I
>> guess I will just go ahead and try and see if everything works
>> out. I have access to the C++ source so at the very least I
>> can see how it's used there and if it's possible in the way I
>> want it to. I don't hope I have to have a separate C++
>> "bridge" to make it work.
>
> Its mostly a magling problem, if the C++ API uses class& that
> you have to interface with then you have a problem that would
> require a shim.
It looks like every class is passed by pointers, so that's a
relief on that part I guess.
More information about the Digitalmars-d-learn
mailing list