Re: [Vala] [vapigen] union inside a struct
- From: Raul Gutierrez Segales <raul gutierrez segales collabora co uk>
- To: Abderrahim Kitouni <a kitouni gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [vapigen] union inside a struct
- Date: Sun, 08 May 2011 23:48:52 +0100
Hi,
On Wed, 2010-12-15 at 18:25 +0100, Abderrahim Kitouni wrote:
Hello,
< في ث، 14-12-2010 عند 16:06 +0000 ، كتب Raul Gutierrez Segales:
Hi,
I am trying to understand how do the attributes glib:type-name and
glib:get-type affect the way vapigen treats a <record>.
if glib:get-type is present, it's treated as a "boxed" and treated as a
vala [Compact] class, otherwise it's treated as a vala struct.
I am running
vapigen on a gir that has
[...]
and it complains with:
"error: unknown child element `union' in `class'".
I guess it's just unimplemented. The code handling this case is present
for class elements, but not for record elements (so the error message is
misleading).
Following up with this I've proposed:
https://bugzilla.gnome.org/show_bug.cgi?id=649760
Cheers,
Raúl
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]