it used to be that getPixels() in gdkpixbuf/Pixbuf.d returned a pointer. Even the docs for the method say it returns a pointer but yet the current code is returning a string:
public string getPixels()
{
return Str.toString(gdk_pixbuf_get_pixels(gdkPixbuf));
}
that can't be right. Also the same with getPixelsWithLength() is now returning string instead of char array.
Is there something wrong with the way that GTK is getting wrapped?
it used to be that
getPixels()
ingdkpixbuf/Pixbuf.d
returned a pointer. Even the docs for the method say it returns a pointer but yet the current code is returning a string:that can't be right. Also the same with
getPixelsWithLength()
is now returning string instead of char array.Is there something wrong with the way that GTK is getting wrapped?