Show
Ignore:
Timestamp:
03/25/08 18:16:02 (8 months ago)
Author:
Mike Wey
Message:

Support for dmd 2.012

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/cairo/PdfSurface.d

    r454 r480  
    4848 * module aliases: 
    4949 * local aliases: 
     50 * overrides: 
    5051 */ 
    5152 
     
    8081     
    8182    /** the main Gtk struct as a void* */ 
    82     protected void* getStruct() 
     83    protected override void* getStruct() 
    8384    { 
    8485        return cast(void*)cairo_surface; 
     
    113114     * Returns: a pointer to the newly created surface. The callerowns the surface and should call cairo_surface_destroy when donewith it.This function always returns a valid pointer, but it will return apointer to a "nil" surface if an error such as out of memoryoccurs. You can use cairo_surface_status() to check for this. 
    114115     */ 
    115     public static PdfSurface create(char[] filename, double widthInPoints, double heightInPoints) 
     116    public static PdfSurface create(string filename, double widthInPoints, double heightInPoints) 
    116117    { 
    117118        // cairo_surface_t* cairo_pdf_surface_create (const char *filename,  double width_in_points,  double height_in_points);