Skip to content

Conversation

@ginnyTheCat
Copy link
Collaborator

This prevents bindgen to prepend the enum name, as mupdf already does this themselves.

This turns fz_linejoin_FZ_LINEJOIN_ROUND for example to FZ_LINEJOIN_ROUND. bindgen also would have the option to turn it into fz_linejoin::FZ_LINEJOIN_ROUND (where fz_linejoin would be a module, but I think removing the prefix is the better choice.

@messense messense merged commit 6db50a7 into messense:main Jun 6, 2025
13 checks passed
@ginnyTheCat ginnyTheCat deleted the short_enum branch June 6, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants