Skip to content

Change cast operator method to usable Lua name #2

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

Open
Sygmei opened this issue Aug 16, 2020 · 0 comments
Open

Change cast operator method to usable Lua name #2

Sygmei opened this issue Aug 16, 2020 · 0 comments
Assignees
Labels
bindings-generator Issues related to bindings generator bug Something isn't working enhancement New feature or request hints-generator Issues related to hints generator

Comments

@Sygmei
Copy link
Member

Sygmei commented Aug 16, 2020

Currently, cast operator keep their original name which is unusable in Lua state.
It would be nice to change the name to the "to_{type}" pattern.
Example here : https://github.com/Sygmei/ObEngine/blob/master/src/Core/Bindings/obe/Graphics/Graphics.cpp#L69

@Sygmei Sygmei added bug Something isn't working enhancement New feature or request labels Aug 16, 2020
@Sygmei Sygmei self-assigned this Aug 16, 2020
@Sygmei Sygmei added bindings-generator Issues related to bindings generator hints-generator Issues related to hints generator labels Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindings-generator Issues related to bindings generator bug Something isn't working enhancement New feature or request hints-generator Issues related to hints generator
Projects
None yet
Development

No branches or pull requests

1 participant