Custom stack to call C function

novive2 sorry at noem.ail
Sun Jun 20 12:27:38 PDT 2010


Moritz Warning Wrote:
> Now I need to build up the call stack myself.

dmd\src\phobos\std\c\stdio.d
contain printf() declaration. it vararg.
so, imho, you can declare and call C func with varargs.
May be you don't need to construct call stack,
but properly declare C func?



More information about the Digitalmars-d mailing list