-
Notifications
You must be signed in to change notification settings - Fork 62
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments
-
I suppose this depends on whether you want ruby-vips to be loaded together with ruby-gnome2. IMHO, this should definitely be supported.
Beta Was this translation helpful? Give feedback.
All reactions
-
You're right, it should be possible. I'll have another go.
Beta Was this translation helpful? Give feedback.
All reactions
-
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
Beta Was this translation helpful? Give feedback.