Closed ahayzen-kdab closed 1 hour ago
The name could also include cxx
in it such as cxx_auto_camel
, as the way this works is if there is no cxx_name specified it will camel case the effective rust name.
Hm, as we (currently) don't plan to do case conversion on CXX types/blocks, I prefer the per-block style, as it explicitly covers a given scope.
Additionaly, I would call the attribute #[auto_casing]
, as we are also converting to snake_case, in extern "C++Qt"
.
(and would leave the door open to specifying your own casing (e.g.: #[auto_casing="PascalCase"]
or whatever.
Implemented and merged in #1108
Instead of implicit auto camel conversion make it explicit and potentially per extern block?
This could look like at a bridge level or extern block level.
Or