Help convert a C++ header to D

Arialis Majoris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 3 03:42:02 PST 2016


On Sunday, 3 January 2016 at 08:29:22 UTC, Rikki Cattermole wrote:
> On 03/01/16 9:26 PM, Arialis Majoris wrote:
>> On Sunday, 3 January 2016 at 06:07:09 UTC, Rikki Cattermole 
>> wrote:
>>> On 03/01/16 7:04 PM, Arialis Majoris wrote:
>>>> [...]
>>>
>>> It's really quite simple.
>>> You would probably only need like 2 regex's to do it.
>>
>> If that's the case, shouldn't there be an automated utility? 
>> Seems like
>> it would be more complex? I thought there was a D tool that 
>> converted C
>> headers into D?
>
> htod is pretty old at this point and is Windows only.
>
> Most headers don't port well. This one will.
> Its just so simple and constant the pattern.

Could you explain instead of telling me that? ;) It doesn't help 
me if I don't know it too!

What won't convert well that I need to worry about?


More information about the Digitalmars-d-learn mailing list