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

Support C bitfields #2

Open
XVilka opened this issue Jun 19, 2019 · 1 comment
Open

Support C bitfields #2

XVilka opened this issue Jun 19, 2019 · 1 comment

Comments

@XVilka
Copy link

XVilka commented Jun 19, 2019

See also mirage/ocaml-cstruct#205 and mirage/ocaml-cstruct#215 for my attempt to add them into the Cstruct library. Hopefully they can be helpful.

@fdopen
Copy link
Owner

fdopen commented Jun 19, 2019

It would have to been added to ctypes itself. ppx_cstubs generates code for the memory representation and runtime of ctypes. And currently ctypes doesn't support bit fields, see yallop/ocaml-ctypes#226

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

No branches or pull requests

2 participants