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

Allow filtering of detect headers without messing up dependency detection #433

Closed vchuravy closed 1 year ago

vchuravy commented 1 year ago

In MLIR.jl I had:

headers = detect_headers(libclang_header_dir, args)
filter!(h->!endswith(h, "Python/Interop.h"), headers)

This caused me to skip some other headers that were only included in Interop.h.

x-ref: https://github.com/JuliaLabs/MLIR.jl/pull/10