JuliaInterop / Clang.jl

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

Print explicit import for using CEnum #488

Closed JoshuaLampert closed 2 months ago

JoshuaLampert commented 2 months ago

With the print_using_CEnum option equal true, an implicit import for CEnum is produced by printing using CEnum. However, then https://github.com/ericphanson/ExplicitImports.jl complains about the implicit import. It would be nice if @cenum (and probably also CEnum) would be imported explicitly. Since @cenum is the only exported name by CEnum.jl this approach should not break anything. Correct me if I am wrong.

Gnimuc commented 2 months ago

Thanks!