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

Unions are interpreted as sequential structs in Interop/C #5

Open
alimpfard opened this issue Jan 15, 2019 · 0 comments
Open

Unions are interpreted as sequential structs in Interop/C #5

alimpfard opened this issue Jan 15, 2019 · 0 comments
Labels

Comments

@alimpfard
Copy link
Owner

inject.c:179 distinguish unions and structs

  • can leave sequential layout as-is, but modify padinfo with same offsets
  • Somehow make that copyable into a new struct object (CTypes_struct::'copy')
@alimpfard alimpfard added the bug label Jan 15, 2019
alimpfard added a commit that referenced this issue Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant