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

Add an option for skipping static functions #456

Closed Gnimuc closed 8 months ago

Gnimuc commented 8 months ago

close #455

cc @sloede

JoshuaLampert commented 8 months ago

Thanks for this quick addition @Gnimuc! However, for me, static functions are only skipped if skip_static_functions = true in the generator.toml is before the [codegen] block other than suggested in the example file. Is that to be expected and if yes, could this be adjusted in the example generator.toml?

Gnimuc commented 8 months ago

Thanks for this quick addition @Gnimuc! However, for me, static functions are only skipped if skip_static_functions = true in the generator.toml is before the [codegen] block other than suggested in the example file. Is that to be expected and if yes, could this be adjusted in the example generator.toml?

Oops! That's a miss.

JoshuaLampert commented 8 months ago

Alright, thanks for the quick reply and the quick fix!