-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
[FEATURE REQUEST] properties macro: automatically prepend is_
on generated getter functions on bool properties
#993
Comments
Why don't you name you property |
There's also a lot of C API that prefixes the property names. |
I guess it is not worth it then to make the macro more complex just for this, I think I'll close this |
I want to have |
Or it's possible to use |
No. Please name your properties as wish them to be named. Regarding naming your property as loop, see #1067 |
But I want setter to have normal name |
|
I believe it makes it more consistent with the generated bindings and it sounds more natural.
Example:
should have a generated getter of
obj.is_new()
instead of justobj.new()
.The text was updated successfully, but these errors were encountered: