variadic functions
0ffh
frank at youknow.what.todo.interNETz
Wed Jan 9 06:45:12 PST 2008
Jarrett Billingsley wrote:
> Actually, passing _argptr in C probably wouldn't work either, at least not
> portably.
Just for the record: Right, I misremembered! Awkward! :-(
I went back to my archives and found two solutions I used, one compiler-
specific and one an ugly hack involving macros like: "#define va_pass_4
*(int*)args,((int*)args)[1],((int*)args)[2],((int*)args)[3]".
regards, frank (blushing)
More information about the Digitalmars-d-learn
mailing list