Skip to content

Add value annotation to G_TYPE_FUNDAMENTAL_MAX

Emmanuele Bassi requested to merge ebassi/fundamental-max-value into main

The introspection parser isn't good enough to expand the shift symbol, which means G_TYPE_FUNDAMENTAL_MAX is evaluated as (255 << 0).

We can use the (value) annotation to force the symbol value in the introspection data.

See: gobject-introspection#473

Merge request reports

Loading