spk121 / guile-gi

Bindings for GObject Introspection and libgirepository for Guile
GNU General Public License v3.0
58 stars 7 forks source link

Handle fundamental types defined in *.gir #113

Closed spk121 closed 2 years ago

spk121 commented 2 years ago

Some fundamental types are defined in GIR files. This is beyond the set of fundamental types in the standard set. For example, CClosureExpression in Gtk-4.0 and RenderNode in Gsk-4.0. This also requires parsing information about GIObjectInfoUnrefFunction and GIObjectInfoRefFunction from GIObjectInfo

spk121 commented 2 years ago

In GTK-4, Expression is an abstract base class of type GObject that defines a custom ref and unref. CClosureExpression is denoted in the GIR file as a fundamental type, but, is a definitization of the abstract base class Expression

spk121 commented 2 years ago

haha. Been a while since I looked at this stuff. Dup of #107