JuliaInterop / Clang.jl

C binding generator and Julia interface to libclang
https://juliainterop.github.io/Clang.jl/
MIT License
219 stars 68 forks source link

fix `typedef <function prototype>` #408

Closed t-bltg closed 1 year ago

t-bltg commented 1 year ago

https://github.com/JuliaParallel/MPI.jl/pull/693?notification_referrer_id=NT_kwDOAMzS8LM1MTA3NTQ4MzA0OjEzNDIzMzQ0#issuecomment-1354933169

Fix c function pointer prototypes.

t-bltg commented 1 year ago

@Gnimuc, this seems to fix https://github.com/JuliaParallel/MPI.jl/issues/688.

The new generated file in https://github.com/JuliaParallel/MPI.jl/pull/693 seems to correctly use <some typedefed c function pointer> instead of Ptr{Cvoid}.

EDIT: on hold until https://github.com/JuliaParallel/MPI.jl/pull/693 is green on CI.

A version bump to 0.16.11 following the merge would be appreciated.

Gnimuc commented 1 year ago

As #403 introduced a breaking change, I'm going to tag the next version as 0.17.0.

t-bltg commented 1 year ago

Thanks 🙏