Changeset 527

Show
Ignore:
Timestamp:
11/15/05 21:37:35 (3 years ago)
Author:
kris
Message:

Fixed the silly va_list issue

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/mango/format/Format.d

    r413 r527  
    3939 
    4040module mango.format.Format; 
     41 
     42private import  std.stdarg; 
    4143 
    4244private import  mango.sys.Type; 
     
    121123                } 
    122124 
    123                 int format (char[] fmt, TypeInfo[] ti, void* args) 
     125                int format (char[] fmt, TypeInfo[] ti, va_list args) 
    124126                { 
    125127                        style.setFormat (fmt); 
     
    145147        ***********************************************************************/ 
    146148 
    147         static int print (inout Style style, TypeInfo[] arguments, void* argptr) 
     149        static int print (inout Style style, TypeInfo[] arguments, va_list argptr) 
    148150        {       
    149151                // internal method to map data types  
  • trunk/mango/io/DisplayWriter.d

    r402 r527  
    4545private import  mango.format.Format, 
    4646                mango.format.Double; 
     47 
     48private import  std.stdarg; 
    4749 
    4850/******************************************************************************* 
     
    137139        ***********************************************************************/ 
    138140 
    139         int print (char[] s, TypeInfo[] ti, void* args) 
     141        int print (char[] s, TypeInfo[] ti, va_list args) 
    140142        {        
    141143                style.setFormat (s);