Skip to content

Conversation

@alejandro-colomar
Copy link
Collaborator

Queued after #1372.

@alejandro-colomar alejandro-colomar force-pushed the const_cast branch 2 times, most recently from a6f929b to 73cf573 Compare October 19, 2025 08:24
This macro is useful to implement QChar versions of functions.
See ISO C23 for a description of what QChar is.

Signed-off-by: Alejandro Colomar <[email protected]>
It won't hurt; if the type is convertible, it will be accepted; and if
it's not convertible, the compiler will reject it at call site.
This 'default' branch allows converting a QChar** into a char**.

Signed-off-by: Alejandro Colomar <[email protected]>
This allows grepping for casts more easily.
It also reduces the damage of a bogus cast.

Signed-off-by: Alejandro Colomar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant