Hi,

I've just seen the messages related to gobject-introspection. I guess
gir file support is not yet complete. That would explain the errors I
get ?

Emmanuel.

Le dimanche 11 avril 2010 à 00:01 +0200, Emmanuel Pacaud a écrit : 
> Hi,
> 
> I'm developing a gobject based library, in C, which already has
> gobject-introspection support.
> 
> http://git.gnome.org/browse/aravis/commit/
> 
> I'm now trying to write a simple test of the introspection support,
> using vala (0.7.10).
> 
> The valac command line looks like this:
> 
> /usr/bin/valac  --girdir=. --pkg Aravis-1.0 --pkg gtk+-2.0 -C aravis.vala
> 
> But I get the following error:
> 
> error: The type name `GLib.TypeInterface' could not be found
> error: The type name `GLib.TypeInterface' could not be found
> error: The type name `GLib.TypeInterface' could not be found
> Compilation failed: 3 error(s), 0 warning(s)
> 
> I guess valac fails on the following lines in Aravis-1.0.git:
> 
>     <record name="ArvGcIntegerInterface"
>             c:type="ArvGcIntegerInterface"
>             glib:is-gtype-struct-for="ArvGcInteger">
>       <field name="parent">
>         <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
>       </field>
>       <field name="get_value">
>         <callback name="get_value" c:type="get_value">
>           <return-value transfer-ownership="none">
>             <type name="int64" c:type="gint64"/>
> 
> But I don't know why. Any idea ?
> 
> Thanks in advance,
> 
> Emmanuel.
> 
> 
> _______________________________________________
> vala-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/vala-list


_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to