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/PostScriptSurface.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; 
     
    117118     * 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. 
    118119     */ 
    119     public static PostScriptSurface create(char[] filename, double widthInPoints, double heightInPoints) 
     120    public static PostScriptSurface create(string filename, double widthInPoints, double heightInPoints) 
    120121    { 
    121122        // cairo_surface_t* cairo_ps_surface_create (const char *filename,  double width_in_points,  double height_in_points); 
     
    250251     * comment =  a comment string to be emitted into the PostScript output 
    251252     */ 
    252     public void dscComment(char[] comment) 
     253    public void dscComment(string comment) 
    253254    { 
    254255        // void cairo_ps_surface_dsc_comment (cairo_surface_t *surface,  const char *comment);