[Kde-bindings] Constructor error with QtRuby redux
Caleb Tennis
caleb at gentoo.org
Tue Dec 6 13:22:27 UTC 2005
Okay, I just ran some debugging with Ruby 1.8.3 and Ruby 1.8.4_pre1 and
the difference is this:
in Qt.cpp new_qt:
if (rb_respond_to(result, rb_intern("initialize")) != 0) {
rb_obj_call_init(result, argc, argv);
}
This never gets called in Ruby 1.8.4_pre1&2. The "result" object looks
identical between Ruby versions, though. Thus, it seems as though the
catch and throw is happening properly, but the object doesn't know it
responds to initialize.
More information about the Kde-bindings
mailing list