[Vala] GIR parsing Error



Did I miss some thing?

I have a Gda-4.0.gir file with the following entries:

    <alias name="Error" c:type="GdaError">
      <type name="GLib.Error" c:type="GError"/>
    </alias>
    <alias name="SList" c:type="GdaSList">
      <type name="GLib.SList" c:type="GSList"/>
    </alias>
    <alias name="ValueList" c:type="GdaValueList">
      <type name="GLib.List" c:type="GList"/>
    </alias>

VAPIGEN fail to parse them with the following errors:

$vapigen --library libgda-4.0 --pkg libxml2-2.0 Gda-4.0.gir

Gda-4.0.gir:17.5-17.32: error: base type `GLib.Error` of class `Gda.Error`
is not an object type
    <alias name="Error" c:type="GdaError">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Gda-4.0.gir:21.41-21.41: error: too few type arguments
      <type name="GLib.SList" c:type="GSList"/>
                                        ^
Gda-4.0.gir:27.37-27.37: error: too few type arguments
      <type name="GLib.List" c:type="GList"/>
                                    ^
Generation failed: 3 error(s), 0 warning(s)

-- 
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates:
LIBRE)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]