Skip to content

What's the best way to specify structure layout difference on architectures? #55534

Closed Answered by jkotas
huoyaoyuan asked this question in Q&A
Discussion options

You must be logged in to vote

You can define two types, but hide the difference behind interface. #33899 has real world example of this technique.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jkoritzinsky
Comment options

You must be logged in to vote
1 reply
@huoyaoyuan
Comment options

huoyaoyuan Jun 26, 2025
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Answer questions and provide assistance, not an issue with source code or documentation. area-Interop-coreclr
3 participants
Converted from issue

This discussion was converted from issue #53790 on July 12, 2021 21:10.