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

Use std::os::raw::c_int and remove our own type alias #143

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

taiki-e
Copy link
Collaborator

@taiki-e taiki-e commented Aug 29, 2023

They are always i32 in macos/bsd, but it is better to be clear that they are the same as std c_int.

@taiki-e
Copy link
Collaborator Author

taiki-e commented Aug 29, 2023

Or, we can just remove this type alias from this module by using std c_int, as part of the v3 breaking changes.

EDIT: updated PR to remove this type alias.

@taiki-e taiki-e changed the title Re-export std::os::raw::c_int instead of defining our own type alias Use std::os::raw::c_int and remove our own type alias Aug 29, 2023
Copy link
Member

@notgull notgull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@taiki-e taiki-e merged commit 9a3fe18 into master Aug 29, 2023
24 checks passed
@taiki-e taiki-e deleted the taiki-e/re-export branch August 29, 2023 17:19
@taiki-e taiki-e mentioned this pull request Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants