gircore / gir.core

A C# binding generator for GObject based libraries providing a C# friendly API surface
https://gircore.github.io/
MIT License
287 stars 28 forks source link

Gir: Consider supporting "abstract" / "Final" attribute #485

Open badcel opened 2 years ago

badcel commented 2 years ago

See: https://gitlab.gnome.org/GNOME/gobject-introspection/blob/master/docs/gir-1.2.rnc#L170

The attribute is set for standard and fundamental classes. Verify the implications of this attribute on our generated code.

Currently the attribute is ignored and all classes never abstract.

See: https://www.bassi.io/articles/2021/07/27/final-types/

badcel commented 2 months ago

Additionally check the final attribute.