C to D bindings: how much do you D-ify the code?
Dicebot
public at dicebot.lv
Fri Oct 25 09:27:52 PDT 2013
On Friday, 25 October 2013 at 16:22:46 UTC, John Colvin wrote:
> As an aside, I would suggest that function overloads that take
> arrays instead of pointer + length is normally a harmless
> addition to an otherwise 1:1 set of bindings.
I disagree. You can always add those wrappers in stage-2 module
and get it inlined so there is no profit in doing it in stage-1
module. But losing ability to auto-generate stuff is huge.
More information about the Digitalmars-d
mailing list