diff options
author | Alban Browaeys <prahal@yahoo.com> | 2012-06-28 18:34:02 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-08-03 13:57:11 +0200 |
commit | beb5c820139693c85f4e5277a7c430dd6042fbcb (patch) | |
tree | dec4ff90163f46aa8afaa22d0356609cde3f8dfa /tests/scanner/Regress-1.0-expected.gir | |
parent | d0ffee9bffacbeb45cc4e03079fe143d5f73288d (diff) | |
download | gobject-introspection-beb5c820139693c85f4e5277a7c430dd6042fbcb.tar.gz |
giscanner: special case G_GINT64_CONSTANT and G_GUINT64_CONSTANT + misc
This let the macro expands to its value as gint64/guint64.
Also
- fix lexer identifier/typdef detection for macro and misc
- do not discard cast
Diffstat (limited to 'tests/scanner/Regress-1.0-expected.gir')
-rw-r--r-- | tests/scanner/Regress-1.0-expected.gir | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir index 37f22250..43258f2a 100644 --- a/tests/scanner/Regress-1.0-expected.gir +++ b/tests/scanner/Regress-1.0-expected.gir @@ -44,6 +44,11 @@ and/or use gtk-doc annotations. --> c:type="REGRESS_DOUBLE_CONSTANT"> <type name="gdouble" c:type="gdouble"/> </constant> + <constant name="G_GINT64_CONSTANT" + value="1000" + c:type="REGRESS_G_GINT64_CONSTANT"> + <type name="gint64" c:type="gint64"/> + </constant> <constant name="INT_CONSTANT" value="4422" c:type="REGRESS_INT_CONSTANT"> <type name="gint" c:type="gint"/> </constant> |