Skip to content

Add support for C bitfields #4165

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

Closed
wants to merge 1 commit into from

Conversation

daurnimator
Copy link
Contributor

Currently a WIP, I'm putting this up so that others might be able to help finish it.

  • have stage1 understand how to layout extern bitfields
  • add support to translate-c to emit extern structs with bit fields

Closes #1499

@daurnimator daurnimator added the translate-c C to Zig source translation feature (@cImport) label Jan 13, 2020
@andrewrk
Copy link
Member

still a draft; no progress for 1 month. please re-open when this is ready for review.

this PR is linked from #1499, so the patch is available for inspection and is not lost to history.

@andrewrk andrewrk closed this Feb 18, 2020
@daurnimator
Copy link
Contributor Author

I got lost in the code: I was waiting for guidance from you on where the changes need to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translate-c C to Zig source translation feature (@cImport)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

translate-c: support C bitfields
2 participants