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/ImageSurface.d

    r454 r480  
    4848 * module aliases: 
    4949 * local aliases: 
     50 * overrides: 
    5051 */ 
    5152 
     
    8384     
    8485    /** the main Gtk struct as a void* */ 
    85     protected void* getStruct() 
     86    protected override void* getStruct() 
    8687    { 
    8788        return cast(void*)cairo_surface; 
     
    223224     * Returns: a new cairo_surface_t initialized with the contentsof the PNG file, or a "nil" surface if any error occurred. A nilsurface can be checked for with cairo_surface_status(surface) which 
    224225     */ 
    225     public static ImageSurface createFromPng(char[] filename) 
     226    public static ImageSurface createFromPng(string filename) 
    226227    { 
    227228        // cairo_surface_t* cairo_image_surface_create_from_png (const char *filename); 
     
    262263     * Returns: CAIRO_STATUS_SUCCESS if the PNG file was writtensuccessfully. Otherwise, CAIRO_STATUS_NO_MEMORY if memory could notbe allocated for the operation orCAIRO_STATUS_SURFACE_TYPE_MISMATCH if the surface does not havepixel contents, or CAIRO_STATUS_WRITE_ERROR if an I/O error occurswhile attempting to write the file. 
    263264     */ 
    264     public cairo_status_t writeToPng(char[] filename) 
     265    public cairo_status_t writeToPng(string filename) 
    265266    { 
    266267        // cairo_status_t cairo_surface_write_to_png (cairo_surface_t *surface,  const char *filename);