element-type annotation can't use custom types
@esodan
Submitted by Daniel Espinosa Ortiz Link to original bug (#657743)
Description
I'm building GIR files for libgda-5.0. It uses an struct defined as follows. I've added (element-type TYPE) annotations but g-ir-scanner doesn't generates suitable instrospection because targets and joins members are declared to hold void* types.
I'm using GOI version 0.10.8.
/**
-
GdaSqlSelectFrom:
-
@any: inheritance structure
-
@targets: (element-type Gda.SqlSelectTarget): list of #GdaSqlSelectTarget
-
@joins: (element-type Gda.SqlSelectJoin): list of #GdaSqlSelectJoin
-
This structure represents the FROM clause of a SELECT statement, it lists targets and joins */ struct _GdaSqlSelectFrom { GdaSqlAnyPart any; GSList *targets; GSList *joins;
/
< private >
/ /* Padding for future expansion */ gpointer _gda_reserved1; gpointer _gda_reserved2; };