-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should generate deprecate warning in rust code, when C code macro expand to __attribute__
__deprecated__
#1522
Comments
__attribute__
__deprecated__
__attribute__
__deprecated__
the deprecated attribute is only generated for the safe api wrapper |
I use rust as modern C. Would be nice to receive deprecation within |
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,
|
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
The text was updated successfully, but these errors were encountered: