Re: Introspecting Pango
- From: Mike Dupont <jamesmikedupont googlemail com>
- To: John Ralls <jralls ceridwen us>
- Cc: "gtk-devel-list gnome org Developers" <gtk-devel-list gnome org>
- Subject: Re: Introspecting Pango
- Date: Thu, 13 Sep 2012 19:56:42 +0200
see this example:
<type name="TestTypeGUInt64" c:type="RegressTestTypeGUInt64"/>
it seems that you are missing the name attribute.
mike
On Tue, Sep 11, 2012 at 8:41 PM, John Ralls
<jralls ceridwen us> wrote:
I'm trying to make Pango introspect on OSX, and The following defines are giving me trouble:
#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)
#define PANGO_GLYPH_INVALID_INPUT ((PangoGlyph)0xFFFFFFFF)
#define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000)
Produce the following in Pango-1.0.gir:
<constant name="GLYPH_EMPTY" value="268435455" c:type="PANGO_GLYPH_EMPTY">
<type c:type="PangoGlyph"/>
</constant>
Which dependent introspections (including PangoCairo) reject with the following:
Pango-1.0.gir:40:34: error: Line 40, character 34: The attribute 'name' on the element 'type' must be specified
error parsing file Pango-1.0.gir: Line 40, character 34: The attribute 'name' on the element 'type' must be specified
make[4]: *** [Pango-1.0.typelib] Error 1
No doubt there's some magic annotation to fix that, but I can't see it from the annotations page on GnomeLive [1]. What is it?
Regards,
John Ralls
[1] https://live.gnome.org/GObjectIntrospection/Annotations
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
--
James Michael DuPont
Member of Free Libre Open Source Software Kosova
http://flossk.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]