Deimos rules?

Jacob Carlborg doob at me.com
Thu Nov 14 04:13:20 PST 2013


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.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list