On Friday, 27 April 2012 at 11:09:41 UTC, James Miller wrote:
It is a binding. There are some very minor cosmetic changes that
will be detailed, but otherwise you can just copy-paste a C
example into D, make it D-compatible and it will work as
intended.
It depends on how minor the changes are, but generally please
refrain from making »cosmetic« changes to the C API. Deimos
bindings should be the verbatim headers translated to D, and just
that (this also means that importing them never requires an
additional compilation unit to be linked in) – anything else is
better left to wrapper projects.
David