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 support for typedef-ed function prototype #411

Merged
merged 1 commit into from
Dec 19, 2022
Merged

Add support for typedef-ed function prototype #411

merged 1 commit into from
Dec 19, 2022

Conversation

Gnimuc
Copy link
Member

@Gnimuc Gnimuc commented Dec 19, 2022

The old behavior simply generates Ptr{Cvoid} for all function pointers. This PR adds support for generating Ptr{funcproto} where funcproto is a typedef-ed function prototype.

fix #410

@t-bltg
Copy link
Contributor

t-bltg commented Dec 19, 2022

Thanks for fixing. We need to come up with representative tests in MPI.jl

@Gnimuc Gnimuc merged commit 29bb6cf into master Dec 19, 2022
@Gnimuc Gnimuc deleted the fix-410 branch December 19, 2022 13:50
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.

Definitions of function pointer types should appear before their first use
2 participants