GObject Introspection, g-field-info-get-size
- Date: Wed, 08 Feb 2017 21:54:06 +0100
- From: Stefan Salewski <mail@xxxxxxxxxxxx>
- Subject: GObject Introspection, g-field-info-get-size
Is someone still familiar with GObject Introspection?
I am investigating creating high level GObject Introspection based Nim bindings.
Most seems to work well, some not: For example
seems to give always zero.
Is that intended?
I may need that for introspecting structs with bit fields. Well, there
are not many, but a few.
Low level Nim bindings already exists, generated from header files with
But I have the feeling that for higher level bindings GObject
Introspection may be fine -- when it works reliable.
Another problem is g_enum_info_get_n_methods() and
g_enum_info_get_method(). For some GTK3 enums n_methods seems to be
greater than zero, but g_enum_info_get_method() gives garbage or
crashes. But that is a minor problem, I may just ignore it.
gtk-list mailing list