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

Add support for typedef-ed function prototype #411

Closed Gnimuc closed 1 year ago

Gnimuc commented 1 year ago

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 commented 1 year ago

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