[Kde-bindings] KDE/kdebindings/ruby/qtruby
Cyrille Berger
cyb at lepi.org
Sun Jul 13 11:21:15 UTC 2008
SVN commit 831811 by berger:
* kross return pointer to object, not pointer to pointer
CCMAIL: kde-bindings at kde.org
M +3 -0 ChangeLog
M +3 -3 src/Qt.cpp
--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #831810:831811
@@ -1,3 +1,6 @@
+2008-07-13 Cyrille Berger <cberger at cberger.net>
+ * Reverting kross2smoke to use a pointer, since that what kross use for now.
+
2008-07-13 Richard Dale <richard.j.dale at gmail.com>
* Remove the smoke2kross() function as it isn't needed anymore. Change
--- trunk/KDE/kdebindings/ruby/qtruby/src/Qt.cpp #831810:831811
@@ -1175,10 +1175,10 @@
rb_raise(rb_eArgError, "unable to find class \"%s\" to cast to\n", StringValuePtr(new_klassname));
}
- void** o;
- Data_Get_Struct(krobject, void*, o);
+ void* o;
+ Data_Get_Struct(krobject, void, o);
- smokeruby_object * o_cast = alloc_smokeruby_object(false, cast_to_id->smoke, (int) cast_to_id->index, *o);
+ smokeruby_object * o_cast = alloc_smokeruby_object(false, cast_to_id->smoke, (int) cast_to_id->index, o);
VALUE obj = Data_Wrap_Struct(new_klass, smokeruby_mark, smokeruby_free, (void *) o_cast);
mapPointer(obj, o_cast, o_cast->classId, 0);
More information about the Kde-bindings
mailing list