On Thu, Nov 19, 2020 at 06:23:30PM +0100, Paolo Bonzini wrote:
On 19/11/20 18:13, Eduardo Habkost wrote:
What's left?
Enums. Enums properties are a mess to implement, and I plan to
tackle them later.
On all other cases, the external representation of the property
value is similar to the internal representation. In the case of
enums, the external representation is a string, but the internal
representation is an integer.
I would have expected a string QLit to work with enums, is there a reason
why it doesn't?
It would work, but it would be more inconvenient for callers.
Right now they use the C enum constant instead of a string.