On 29 August 2015 at 12:25, Daniel Murphy via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com> wrote:
"Iain Buclaw via Digitalmars-d-announce" <digitalmars-d-announce@puremagic.com> wrote in message news:mailman.640.1440835567.13986.digitalmars-d-announce@puremagic.com...

> I'm planning to generate the C++ headers from the D source rather than > maintain them by hand.

You could use UDAs for that!

How?


Just an idea to selectively @tag any classes or functions you want to export to C++, then let the conversion tool do the rest.  This is as opposed to going back to some sort of magicport.json format maintained outside the normal sources.