Formatting a string on a variadic parameter function without using GC

David G. Maziero via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 2 00:18:40 PST 2016


On Wednesday, 2 March 2016 at 05:04:37 UTC, David G. Maziero 
wrote:
> void RenderText( FontBMP font, int x, int y, const char* text,

Just one more correction for future reference, RenderText should 
be

> extern(C) void RenderText...

in order for it to work correctly with va_start/etc.



More information about the Digitalmars-d-learn mailing list