Clang.jl icon indicating copy to clipboard operation
Clang.jl copied to clipboard

C binding generator and Julia interface to libclang

Results 52 Clang.jl issues
Sort by recently updated
recently updated
newest added

I recently used Clang.jl to generate bindings for HYPRE: (https://github.com/fredrikekre/HYPRE.jl). I had to add some things to the ignore list, where Clang.jl generated invalid Julia code, see: https://github.com/fredrikekre/HYPRE.jl/blob/373b9d7d5183bf8ddfa05af68d2ff00b5d98cc28/gen/generator.toml#L6-L27 Perhaps these...

macro

When trying to generate bindings for the [p4est](https://github.com/cburstedde/p4est) headers, adding `sc_MPI` to the `output_ignorelist` setting in the `generator.toml` has no effect: Macros of the type ```c #define sc_MPI_COMM_WORLD MPI_COMM_WORLD ```...

Hello :wave: I had an issue with Clang.jl where the created Julia struct would not match the C representation of the same struct because of field alignments issues. Consider the...

enhancement

``` (jl_ek7nY5) pkg> st Status `C:\Users\kittisopikulm\AppData\Local\Temp\jl_ek7nY5\Project.toml` [40e3b903] Clang v0.15.7 julia> using Clang julia> using Clang.Generators julia> get_default_args() ERROR: AssertionError: failed to setup environment due to missing dirs, please file an...

Maybe it's better to add a new option to let users determine the char type they'd like to use on the Julia side.

enhancement

try to fix the runtime dispatch errors with https://github.com/aviatesk/JETTest.jl.

For some packages there are many constants that are nice to have documented. For example, in this format: ``` /*! * Indicate end of burst for transmit or receive. *...

Right now we are generating: ``` # typedef void ( * pmix_event_notification_cbfunc_fn_t ) ( pmix_status_t status , pmix_info_t * results , size_t nresults , pmix_op_cbfunc_t cbfunc , void * thiscbdata...

good first issue
help wanted

We are experimenting with the current `master` branch of Clang.jl in https://github.com/trixi-framework/P4est.jl/pull/38. I noticed that there is no REPL tab completion for properties and structs defined automatically by Clang.jl (via...

enhancement
good first issue