[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] [PATCH] Deferred objects, QGraphicsEffect,
From: Paolo Capriotti <p.capriotti () gmail ! com>
Date: 2010-07-11 17:24:22
Message-ID: AANLkTilcPLJKfNmRB2voA4v4MtBCM5af8RRleAtj4BE0 () mail ! gmail ! com
[Download RAW message or body]
Hi all,
here are 3 patches that fix some problems I'm having with the current qtruby.
Deferred objects (http://gist.github.com/471683): I already submitted
a patch about this problem. This is an updated version for the current
svn trunk. The idea (as explained here:
http://article.gmane.org/gmane.comp.kde.devel.bindings/5715) is that
there is no guarantee that the VALUE associated to an object still
contains meaningful information when the object destructor is called.
So we cannot use value_obj_info from within Binding::deleted. This
patch saves a pointer to the smokeruby_object instance alongside the
ruby VALUE in the pointer map.
QGraphicsEffect (http://gist.github.com/471684): A special case
similar to the others in that function: a QGraphicsItem owns its
QGraphicsEffect's, so they must be marked in the mark phase.
long long handler (http://gist.github.com/471514): There is no handler
for the "long long" type. Not sure why this hasn't popped up before,
but it causes a crash on my machine when calling
QIODevice::bytesAvailable.
Let me know if there are any objections. If not, I'll commit them soon.
Thanks,
Paolo Capriotti
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic