Open grelltrier opened 4 years ago
That seems unexpected indeed. I think currently it only lists types that are not generated at all because they're not configured, but it doesn't list functions that can't be generated (for whatever reason) although they're configured.
Seems like a useful addition.
I am trying to generate Rust bindings for gtk-layer-shell. There are a number of global functions and they take a few different gtk types as input. There are only two enums that also need to be implemented but they only serve as input to the functions without having any methods themselves.
If I don't add those enums to
generate = [ ]
in the Gir.toml and then rungir -m not_bound
I get [NOT GENERATED] for all the enums missing and also a number of [NOT GENERATED FUNCTION]. If I add all the enums togenerate = [ ]
and then rungir -m not_bound
I don't get any [NOT GENERATED FUNCTION]s anymore, even though none of the before mentioned functions were generated. Is this expected behavior? Intuitively I would have expected all [NOT GENERATED FUNCTION] to remain until they were actually generated