Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone traits implemented #89

Merged
merged 2 commits into from
May 17, 2024
Merged

Clone traits implemented #89

merged 2 commits into from
May 17, 2024

Conversation

monoamine11231
Copy link
Contributor

Clone trait was implemented for Page and Document structs in src/page.rs and src/document.rs using fz_keep_page and fz_keep_document methods which increment's MuPDF's internal reference count for the target structures.

Otherwise no major changes were made. All tests are passing.

Have a great day!

@messense messense merged commit 4cca7dc into messense:main May 17, 2024
7 checks passed
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