summaryrefslogtreecommitdiff
path: root/tests/scanner
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-01-16 19:03:21 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-01-16 19:03:27 +0100
commit0e0ee273e7dcb6f08b4e433fdbdf11e3cffd66d1 (patch)
tree300b4bab7fdfac2c62674cdf020787a55fe52c1e /tests/scanner
parent361aa17c5302d5d9501b71ec352b39452dea6d23 (diff)
downloadgobject-introspection-0e0ee273e7dcb6f08b4e433fdbdf11e3cffd66d1.tar.gz
Revert "Restore original meaning of disguised attribute."
This reverts commit f606183a010fbec4382acb728882cc0eddbaf7f7. See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/9#note_409979
Diffstat (limited to 'tests/scanner')
-rw-r--r--tests/scanner/Identfilter-1.0-expected.gir4
-rw-r--r--tests/scanner/Regress-1.0-expected.gir12
-rw-r--r--tests/scanner/Symbolfilter-1.0-expected.gir2
3 files changed, 12 insertions, 6 deletions
diff --git a/tests/scanner/Identfilter-1.0-expected.gir b/tests/scanner/Identfilter-1.0-expected.gir
index c36da9f9..15cd408a 100644
--- a/tests/scanner/Identfilter-1.0-expected.gir
+++ b/tests/scanner/Identfilter-1.0-expected.gir
@@ -11,10 +11,10 @@ and/or use gtk-doc annotations. -->
shared-library=""
c:identifier-prefixes="Identfilter"
c:symbol-prefixes="identfilter">
- <record name="Context" c:type="identfilter_t">
+ <record name="Context" c:type="identfilter_t" disguised="1">
<source-position filename="identfilter.h" line="4"/>
</record>
- <record name="Object" c:type="identfilter_object_t">
+ <record name="Object" c:type="identfilter_object_t" disguised="1">
<source-position filename="identfilter.h" line="5"/>
<method name="foo_method" c:identifier="identfilter_object_foo_method">
<source-position filename="identfilter.h" line="8"/>
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
index 37ef3109..3053b907 100644
--- a/tests/scanner/Regress-1.0-expected.gir
+++ b/tests/scanner/Regress-1.0-expected.gir
@@ -1411,6 +1411,7 @@ it says it's pointer but it's actually a string.</doc>
</class>
<record name="FooBufferClass"
c:type="RegressFooBufferClass"
+ disguised="1"
glib:is-gtype-struct-for="FooBuffer">
<source-position filename="foo.h" line="52"/>
</record>
@@ -2095,6 +2096,7 @@ uses a C sugar return type.</doc>
</class>
<record name="FooOtherObjectClass"
c:type="RegressFooOtherObjectClass"
+ disguised="1"
glib:is-gtype-struct-for="FooOtherObject">
<source-position filename="foo.h" line="54"/>
</record>
@@ -2219,7 +2221,9 @@ exposed to language bindings.</doc>
<type name="gint" c:type="int"/>
</field>
</record>
- <record name="FooStructPrivate" c:type="RegressFooStructPrivate">
+ <record name="FooStructPrivate"
+ c:type="RegressFooStructPrivate"
+ disguised="1">
<source-position filename="foo.h" line="325"/>
</record>
<interface name="FooSubInterface"
@@ -2483,7 +2487,7 @@ exposed to language bindings.</doc>
<source-position filename="regress.h" line="520"/>
<type name="gint" c:type="gint"/>
</constant>
- <record name="Intset" c:type="RegressIntset">
+ <record name="Intset" c:type="RegressIntset" disguised="1">
<doc xml:space="preserve"
filename="regress.h"
line="1337">Like telepathy-glib's TpIntset.</doc>
@@ -2814,7 +2818,9 @@ use it should be.</doc>
</parameters>
</method>
</record>
- <record name="TestBoxedPrivate" c:type="RegressTestBoxedPrivate">
+ <record name="TestBoxedPrivate"
+ c:type="RegressTestBoxedPrivate"
+ disguised="1">
<source-position filename="regress.h" line="666"/>
</record>
<callback name="TestCallback" c:type="RegressTestCallback">
diff --git a/tests/scanner/Symbolfilter-1.0-expected.gir b/tests/scanner/Symbolfilter-1.0-expected.gir
index 96c2231b..80fe0d4b 100644
--- a/tests/scanner/Symbolfilter-1.0-expected.gir
+++ b/tests/scanner/Symbolfilter-1.0-expected.gir
@@ -11,7 +11,7 @@ and/or use gtk-doc annotations. -->
shared-library=""
c:identifier-prefixes="Symbolfilter"
c:symbol-prefixes="symbolfilter">
- <record name="Object" c:type="SymbolfilterObject">
+ <record name="Object" c:type="SymbolfilterObject" disguised="1">
<source-position filename="symbolfilter.h" line="4"/>
<method name="filterObjectFooMethod"
c:identifier="SymbolfilterObjectFooMethod">