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

feat: -Wvoid-call to validate the format of callback handlers. #231

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Dec 29, 2023

They must always start with the cast from void* to whatever T* they are actually handling. This makes it easier to read and understand that the void* is actually a T*.


This change is Reviewable

@iphydf iphydf added this to the v0.0.9 milestone Dec 29, 2023
Copy link
Member

@JFreegman JFreegman left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

They must always start with the cast from `void*` to whatever `T*` they
are actually handling. This makes it easier to read and understand that
the `void*` is actually a `T*`.
@toktok-releaser toktok-releaser merged commit 3068675 into TokTok:master Dec 29, 2023
11 checks passed
@iphydf iphydf deleted the void-call branch December 29, 2023 18:27
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

Successfully merging this pull request may close these issues.

3 participants