Hi,
I'm using the CLI tool to avoid wasting CI minutes on recompiling bindgen, so I'm looking for a CLI solution.
I've read about the ParseCallbacks::enum_variant_name solution, but I'm not sure how to use it. For starters it seems to not be available in the CLI tool, but furthermore I need all enum variants in the same callback to be able to find the prefix, right?
I'm generating bindings for a C library that has hundreds of enums, so manually listing them isn't a great solution.
Regards
Hi,
I'm using the CLI tool to avoid wasting CI minutes on recompiling bindgen, so I'm looking for a CLI solution.
I've read about the
ParseCallbacks::enum_variant_namesolution, but I'm not sure how to use it. For starters it seems to not be available in the CLI tool, but furthermore I need all enum variants in the same callback to be able to find the prefix, right?I'm generating bindings for a C library that has hundreds of enums, so manually listing them isn't a great solution.
Regards