You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will take a look in a bit. bool is generally tricky to handle due to it working completely differently between C/C++ and C#. Bitfields are apparently a scenario where I'm missing some of the manual conversions and comparisons that would otherwise be required.
In general it requires cond ? 1 : 0 to convert to a bool cond to an integer value and value != 0 to convert an int value to a boolean.
For the
get
- "Cannot cast expression of typeint
tobool
"For the
set
- "Cannot apply operator&
to operands of typebool
andint
.Here's the relevant struct parts this is generated from:
The text was updated successfully, but these errors were encountered: