Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

move GLib and GObject inside Vips #268

jcupitt started this conversation in Ideas
Discussion options

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.

You must be logged in to vote

Replies: 3 comments

Comment options

I suppose this depends on whether you want ruby-vips to be loaded together with ruby-gnome2. IMHO, this should definitely be supported.

You must be logged in to vote
0 replies
Comment options

jcupitt
Sep 4, 2017
Maintainer Author

You're right, it should be possible. I'll have another go.

You must be logged in to vote
0 replies
Comment options

jcupitt
Sep 4, 2017
Maintainer Author

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #125 on January 31, 2021 13:10.

AltStyle によって変換されたページ (->オリジナル) /