gimarshallingtests: Add more tests for flags
-
gimarshallingtests: Add more tests for flags
Bindings sometimes need to handle flags and enums separately, so everything that is tested for enums should ideally be tested separately for flags.
-
girmarshalling tests: Diagnose GValue not holding enum/flags
If g_value_get_enum() or g_value_get_flags() is about to fail with a precondition check failure, we can improve diagnostics by issuing a more informative critical warning.
I'm going to use this to add more test coverage to gjs.