Deimos rules?

Xavier Bigand flamaros.xavier at gmail.com
Thu Nov 14 14:32:42 PST 2013


Le 14/11/2013 13:13, Jacob Carlborg a écrit :
> On 2013-11-13 23:01, Xavier Bigand wrote:
>> I work on XCB integration, so I think that I can add bindings in deimos.
>>
>> C headers are translated to d modules by using DStep or manually?
>> If manually need I respect some syntactical rules?
>
> I would say stay as close to the original C code as possible. Although I
> do prefer to translate typedefs like int8_t to real D types, like byte,
> if they exist.
>
I started by changing extension of files from .h to .d, and translating 
in place everything. I take libX11 as model.

I'll certainly make a pull request when I will able to run a simple demo.

I let all originals comments as it during the translation.



More information about the Digitalmars-d-learn mailing list