diff options
author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2018-02-11 00:00:00 +0000 |
---|---|---|
committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2018-02-13 14:11:27 +0100 |
commit | e8e567546282d714729df55d10ca26ec35c71416 (patch) | |
tree | a59f33e6f9f10b3f5faedd59b735420c19abdc0d /tests/scanner/Regress-1.0-expected.gir | |
parent | 6f677e77413b628756a9dbb8082f783757b099f3 (diff) | |
download | gobject-introspection-e8e567546282d714729df55d10ca26ec35c71416.tar.gz |
Reuse const_table between calls to SourceScanner parse_files and parse_macros.
Macro constants may now refer to constants defined in source files.
Test case provided by Philip Chimento.
Fixes issues #173 and #75.
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 980ad650..cd47fcb5 100644 --- a/tests/scanner/Regress-1.0-expected.gir +++ b/tests/scanner/Regress-1.0-expected.gir @@ -945,6 +945,11 @@ it says it's pointer but it's actually a string.</doc> c:type="REGRESS_FOO_DEFINE_SHOULD_BE_EXPOSED"> <type name="utf8" c:type="gchar*"/> </constant> + <constant name="FOO_FLAGS_SECOND_AND_THIRD" + value="6" + c:type="REGRESS_FOO_FLAGS_SECOND_AND_THIRD"> + <type name="gint" c:type="gint"/> + </constant> <constant name="FOO_PIE_IS_TASTY" value="3.141590" c:type="REGRESS_FOO_PIE_IS_TASTY"> |