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

Add c_int and c_uint portability helper type #412

Open
danakj opened this issue Nov 29, 2023 · 0 comments
Open

Add c_int and c_uint portability helper type #412

danakj opened this issue Nov 29, 2023 · 0 comments
Labels
design Design of the library systems as a whole, such as concepts
Milestone

Comments

@danakj
Copy link
Collaborator

danakj commented Nov 29, 2023

Rather than be an alias to i32 or i64, it can be another type that matches the size of an int for the system.

This can be very useful for working with libc APIs, even though it should not typically be relied on as a primary type in the application layer.

@danakj danakj added the design Design of the library systems as a whole, such as concepts label Nov 29, 2023
@danakj danakj added this to the stable-numerics milestone Nov 29, 2023
@danakj danakj changed the title Add CInt portability helper type Add c_int and c_uint portability helper type Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design of the library systems as a whole, such as concepts
Projects
None yet
Development

No branches or pull requests

1 participant