[Kde-bindings] KDE/kdebindings/ruby/qtruby

Richard Dale rdale at foton.es
Wed Dec 10 13:14:56 UTC 2008


On Saturday 06 December 2008 22:07:06 Davor Ocelic wrote:
> Hello folks,
>
> Thanks for the recent addition of support for [const] uchar*
> in the Ruby bindings.
>
> It works great on both Ruby 1.8 and 1.9.
>
> We've made just one change, and that is making uchar* preferred over
> const uchar*. That way QT does not perform copy on write, and
> we can modify underlying data in place through the Qt object.
Don't you mean you want to have the 'const uchar*' version of bits() if you 
want to do any modifications? That's the one I've just added.

> If it doesn't introduce unwanted implications for general use, maybe
> it can become the default.
Yes, please send any patches you have for the KDE trunk version of qtruby to 
this list and we can discuss.

-- Richard



More information about the Kde-bindings mailing list