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

Add ability to disable aligned storage for bridged types #220

Merged
merged 4 commits into from
Jun 25, 2024

Conversation

leemaguire
Copy link
Contributor

@leemaguire leemaguire commented Jun 19, 2024

Currently when building with CMake we default to always generating the bridging headers size and aligned size for usage in std::aligned_storage. This PR allows you to override that and use std::shared_ptrfor the Core bridged types instead. This is required when we can't generate the bridging headers correctly or a package manager might not allow it.

@leemaguire leemaguire added no-jira-ticket Skip checking the PR title for Jira reference no-changelog labels Jun 19, 2024
@leemaguire leemaguire self-assigned this Jun 19, 2024
@leemaguire leemaguire marked this pull request as ready for review June 19, 2024 15:10
@leemaguire leemaguire requested a review from kneth June 21, 2024 09:47
Copy link
Contributor

@kneth kneth left a comment

Choose a reason for hiding this comment

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

LGTM

@leemaguire leemaguire force-pushed the lm/disable_aligned_storage branch from d65be74 to f1ef6b2 Compare June 25, 2024 11:18
@leemaguire leemaguire merged commit 9170fe1 into main Jun 25, 2024
38 of 51 checks passed
@leemaguire leemaguire deleted the lm/disable_aligned_storage branch June 25, 2024 12:55
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-jira-ticket Skip checking the PR title for Jira reference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants