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

Does Clang.jl have an option to skip `static` functions? #455

Closed sloede closed 8 months ago

sloede commented 8 months ago

Related to #267, but recently resurfaced in https://github.com/trixi-framework/P4est.jl/issues/99. We know that it is not possible to make static functions callable from Julia (at least not trivially; since that would either require source-to-source translation or modifying the original library). However, it would be great if we had a mechanism to prevent them from being included in the generated Julia API.

cc @ranocha @Blumenkranz