I have a pretty complex struct with C++ typed private members etc. in it which I want to use from D.

Obviously I don't want to/can't rebuild the struct definiton in D and I don't need access to all the members just some simple C API ones are enough.

How can I get access to this struct from D? I mean something like:

alias my_d_struct = extern(c) my_cpp_struct;


--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

Reply via email to