Skip to content

Conversation

kleisauke
Copy link
Member

Depends on: https://github.com/jcupitt/pyvips/pull/47.

- Update dependencies. - Test with libvips 8.6.3 on Travis. - Use pyvips for the auto-generated docs/enums (fixes libvips#56). - Regenerate docs/enums. - If statement can be merged with parent one.
@jcupitt
Copy link
Member

jcupitt commented Jun 10, 2018

This is brilliant Kleis! The dependency on an old version of ruby-vips was very annoying, but I was too lazy to fix it. I had one comment on the enum introspection, the rest looks great.

# otherwise we're missing some enums
vips_lib.vips_token_get_type()
vips_lib.vips_saveable_get_type()
vips_lib.vips_image_type_get_type()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not quite sure why I should call these functions, but without these lines those enums aren't generated.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, most enums need to be explicitly initialized.

@jcupitt jcupitt merged commit 5f01fd0 into libvips:master Jun 10, 2018
@jcupitt
Copy link
Member

jcupitt commented Jun 10, 2018

Great!

@kleisauke kleisauke deleted the improvements branch June 10, 2018 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants