Open topolarity opened 5 months ago
It's not uncommon for C libraries to use #define to rename a function:
#define
// test.h #define fprintf sh_fprintf
but this will generate an invalid const definition:
const
module TestModule const fprintf = sh_fprintf end # module
It seems like Clang.jl needs to keep track of the identifiers here maybe?
Clang.jl
agreed. maybe LLMs can do better.
It's not uncommon for C libraries to use
#define
to rename a function:but this will generate an invalid
const
definition:It seems like
Clang.jl
needs to keep track of the identifiers here maybe?