Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3422

Show
Ignore:
Timestamp:
04/09/08 13:07:15 (8 months ago)
Author:
larsivi
Message:

Sometimes args is a pointer, sometimes not. closes #1029, and yes, GDC sucks at varargs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/text/convert/Layout.d

    r3420 r3422  
    197197                        { 
    198198                        arglist[i] = args; 
     199                        static if (is(typeof(args.ptr))) 
     200                            arglist[i] = args.ptr; 
     201                        else 
     202                            arglist[i] = args; 
    199203                        /* Since floating point types don't live on 
    200204                         * the stack, they must be accessed by the