Mercurial > projects > ldc
comparison lphobos/std/format.d @ 120:5ce8ab11e75a trunk
[svn r124] Fixed another D vararg + return in ptr bug.
Fixed some nested function calls failed to resolve the context ptr.
author | lindquist |
---|---|
date | Mon, 26 Nov 2007 07:26:21 +0100 |
parents | 288fe1029e1f |
children | 5825d48b27d1 |
comparison
equal
deleted
inserted
replaced
119:79c9ac745fbc | 120:5ce8ab11e75a |
---|---|
447 // prints 'The answer is 27:6' | 447 // prints 'The answer is 27:6' |
448 formattedPrint("The answer is %s:", x, 6); | 448 formattedPrint("The answer is %s:", x, 6); |
449 ------------------------ | 449 ------------------------ |
450 */ | 450 */ |
451 | 451 |
452 void doFormat(void delegate(dchar) putc, TypeInfo[] arguments, va_list argptr) | 452 void doFormat(void delegate(dchar) putc, TypeInfo[] arguments, void* argptr) |
453 { int j; | 453 { int j; |
454 TypeInfo ti; | 454 TypeInfo ti; |
455 Mangle m; | 455 Mangle m; |
456 uint flags; | 456 uint flags; |
457 int field_width; | 457 int field_width; |