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

generator: add has_unsafe_cxx_type for Rust generation #380

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

ahayzen-kdab
Copy link
Collaborator

Certain types such as *mut T pointers require that the CXX functions are marked as unsafe. This is required for nested objects to work.

This is related to #299 and allows for adding an unsafe into CXX bridges when an unsafe type to CXX is used.

@ahayzen-kdab ahayzen-kdab mentioned this pull request Dec 9, 2022
@ahayzen-kdab ahayzen-kdab force-pushed the 299-consider-unsafe-types branch 3 times, most recently from 57876be to eb64b64 Compare December 16, 2022 10:08
Certain types such as *mut T pointers require that the CXX
functions are marked as unsafe. This is required for nested
objects to work.
@Be-ing Be-ing force-pushed the 299-consider-unsafe-types branch from eb64b64 to 982dc22 Compare December 16, 2022 22:36
@Be-ing Be-ing merged commit f0daf13 into KDAB:main Dec 17, 2022
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