You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be neater to have the GLib and GObject modules inside Vips, see #119 (comment)
Though I wonder if this would be useful in practice. You can't have two glib or gobject libraries loaded into your program at once, since they both have plenty of global state, so two GLib modules would probably be a disaster.
Activity
mvz commentedon Sep 4, 2017
I suppose this depends on whether you want ruby-vips to be loaded together with ruby-gnome2. IMHO, this should definitely be supported.
jcupitt commentedon Sep 4, 2017
You're right, it should be possible. I'll have another go.
jcupitt commentedon Sep 4, 2017
Aside: @mvz, I copied the ruby-vips inheritance stuff from your example (you probably noticed), so thank you very much!
https://github.com/jcupitt/ruby-vips/blob/master/example/inheritance_with_refcount.rb