On Thursday, 8 March 2018 at 15:51:53 UTC, Robert M. Münch wrote:
I have a pretty complex struct with C++ typed private members etc. in it which I want to use from D.

How are you accessing it? If it is by pointer only passing it to methods, you can simply:

struct my_cpp_struct;

and define functions:

extern(C)
void foo(my_cpp_struct* arg);


then just declare functions you need and always use as opaque pointer.

Reply via email to