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

Currently, C `union`s and `struct`s containing a `union` are wrapped as a julia `struct` having one field `data` with overwritten `Base.getproperty` and `Base.setproperty!` functions, e.g. ```C union testunion { int...

enhancement
good first issue
help wanted

This PR is to fix issue https://github.com/JuliaInterop/Clang.jl/issues/450

With Julia-1.6.7 and Clang-0.14.1 on Linux Ubuntu 23.04, calling `get_default_args()` gives the following error : ``` ERROR: BoundsError: attempt to access 2-element Vector{String} at index [] Stacktrace: [1] throw_boundserror(A::Vector{String}, I::Tuple{})...

``` /// These callbacks are used to return multiple types from functions while /// transferring ownership to the caller. The first argument is the number of /// consecutive elements pointed...

Trying to create a wrapper of CPython using the following scripts, am I doing something wrong? scripts ```toml # wrap.toml [general] library_name = "libpython[]" output_file_path = "../lib/libPython_h.jl" use_julia_native_enum_type = false...

This is somewhat invasive, but hopefully not too scary. It will help for adding support for modules which are uniqued by their ast file. I included the commit from #423...

TODO: add docs to module.jl

The first of a series of PRs related to #416

cross-platform
windows

I found this in the example generator.toml: ```jl # if this option is set to true, C code with a style of # ```c # typedef struct { # int...

It looks like `_Atomic` can be supported by simply using the `@atomic` macro: https://docs.julialang.org/en/v1/manual/multi-threading/#man-atomics Need to study the [memory model](https://gist.github.com/vtjnash/11b0031f2e2a66c9c24d33e810b34ec0) carefully to make sure both Julia's representation and C/C++'s representation...

C11
help wanted