Open loynoir opened 1 year ago
the deprecated attribute is only generated for the safe api wrapper
@bilelmoussaoui
I use rust as modern C.
Would be nice to receive deprecation within gtk4_sys::gtk_widget_show
Seems like a good idea to have that in gir, but less important than for the safe API. Do you want to provide a PR for this? The information about deprecations is already available in the code generator, just not made use for when generating the -sys bindings.
I think, instead of
should
In my option,
1:1
mapping.Yes that's what I'm saying. Do you want to provide a PR for that?
Sorry, willing to, but sticking with something else.
reproduce
C code
actual
rust code
expected
Deprecate warning when use rust
gtk4_sys::gtk_widget_show