Some guidance on writing a Deimos C library interface
dnewbie
run3 at myopera.com
Fri Jul 13 21:57:03 PDT 2012
Hi Jens.
> 1. The D page says they should be lower case. Should Deimos
> module names
> also be made lower case?
Yes.
> 2. Should all interfaces be put in a common package, say deimos?
Yes.
> * const T* should be replaced with const(T)*
Yes.
> * 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/
More information about the Digitalmars-d
mailing list