Mercurial > projects > dwt-linux
diff dwt/internal/cairo/Cairo.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 0f12f6bb9739 |
children | ffb904674b52 |
line wrap: on
line diff
--- a/dwt/internal/cairo/Cairo.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/internal/cairo/Cairo.d Mon May 05 00:42:55 2008 +0200 @@ -23,6 +23,8 @@ */ module dwt.internal.cairo.Cairo; +import dwt.dwthelper.utils; + import dwt.internal.c.cairo; import dwt.internal.c.cairo_xlib; import dwt.internal.c.cairo_ps; @@ -61,7 +63,7 @@ template NameOfFunc(alias f) { // Note: highly dependent on the .stringof formatting // the value begins with "& " which is why the first two chars are cut off - const char[] NameOfFunc = (&f).stringof[2 .. $]; + const String NameOfFunc = (&f).stringof[2 .. $]; } template ForwardGtkCairoCFunc( alias cFunc ) {