Some guidance on writing a Deimos C library interface
Jens Mueller
jens.k.mueller at gmx.de
Sat Jul 14 23:14:22 PDT 2012
dnewbie wrote:
> >2. Should all interfaces be put in a common package, say deimos?
>
> Yes.
Why is this? What is the rational behind it?
Because some Deimos projects seem not to follow it.
> >* How to deal with macros?
>
> http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=146873
>
>
> Also please check this guide
> http://www.gamedev.net/blog/1140/entry-2254003-binding-d-to-c/
Most of this is covered by http://dlang.org/interfaceToC.html, isn't it?
Jens
More information about the Digitalmars-d
mailing list