Replies: 1 comment
-
Yeah that was a mistake not to name it rd_kafka_metadata_s, but we can't really change it now since it would break backwards compatibility with existing applications that are using the struct rather than the typedef. But ultimately I think this is a problem with Clang.jl. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
rd_kafka_metadata
name in rdkafka.h seems to define both a struct and a function, which causes problems (here) when trying to use Clang.jl to wrap the c-library into a Julia library. I believe we should modify the struct definition such thatrd_kafka_metadata
is changed tord_kafka_metadata_s
to be consistent with typedef in other parts of the codebase.. Does this make sense? If so I can create an issue/PR to make the change. Thanks!Beta Was this translation helpful? Give feedback.
All reactions