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

No bool type #17

Open
jpfr opened this issue Jun 4, 2013 · 2 comments
Open

No bool type #17

jpfr opened this issue Jun 4, 2013 · 2 comments

Comments

@jpfr
Copy link

jpfr commented Jun 4, 2013

Current cstruct types are all integer, 8bit upwards.
Is it possible to have a single-bit type (bool)?

I am trying to implement a protocol that has such a single-bit field.

@avsm
Copy link
Member

avsm commented Jun 4, 2013

yeah, bitfields are on my todo list.

@avsm
Copy link
Member

avsm commented Dec 5, 2013

This is being deferred to a future version of Cstruct that uses Ctypes under the hood. This avoid duplicating a lot of functionality and optimization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants