ianprime0509 / zig-gobject

GObject bindings for Zig using GObject introspection
http://ianjohnson.dev/zig-gobject/
BSD Zero Clause License
52 stars 6 forks source link

Incorrect GIR for `appstream.SearchTokenMatch` #47

Open ianprime0509 opened 9 months ago

ianprime0509 commented 9 months ago

This is a bit field where the underlying C type is a packed enum. The packed nature of the enum is not currently representable in GIR; currently, it is fixed using a custom extension (bits attribute on enum and bit field types).

ianprime0509 commented 2 months ago

Evidently this was removed from the public API a year ago: https://github.com/ximion/appstream/commit/eebb0f8c4c1226b3eef8b0b799465ef5cda5ecea The GNOME 47 SDK no longer contains a version with this problem.