[Vala] Issue with TypeInterface in a gir file
- From: Emmanuel Pacaud <emmanuel gnome org>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] Issue with TypeInterface in a gir file
- Date: Sun, 11 Apr 2010 00:01:03 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]