diff options
Diffstat (limited to 'tests/scanner')
-rw-r--r-- | tests/scanner/foo-1.0-expected.gir | 3 | ||||
-rw-r--r-- | tests/scanner/foo-1.0-expected.tgir | 3 | ||||
-rw-r--r-- | tests/scanner/foo.h | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/scanner/foo-1.0-expected.gir b/tests/scanner/foo-1.0-expected.gir index 2f82175..4bd7745 100644 --- a/tests/scanner/foo-1.0-expected.gir +++ b/tests/scanner/foo-1.0-expected.gir @@ -399,6 +399,9 @@ and/or use gtk-doc annotations. --> </parameters> </callback> </record> + <constant name="PIE_IS_TASTY" value="3.14159"> + <type name="double"/> + </constant> <record name="Rectangle" c:type="FooRectangle"> <field name="x" writable="1"> <type name="int" c:type="gint"/> diff --git a/tests/scanner/foo-1.0-expected.tgir b/tests/scanner/foo-1.0-expected.tgir index edf58ef..dcd9789 100644 --- a/tests/scanner/foo-1.0-expected.tgir +++ b/tests/scanner/foo-1.0-expected.tgir @@ -277,6 +277,9 @@ <type name="GObject.ObjectClass"/> </field> </record> + <constant name="PIE_IS_TASTY" value="3.141590"> + <type name="double"/> + </constant> <record name="Rectangle"> <field name="x" writable="1"> <type name="int"/> diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h index d3dd29f..da30df3 100644 --- a/tests/scanner/foo.h +++ b/tests/scanner/foo.h @@ -8,6 +8,8 @@ #define FOO_DEFINE_SHOULD_BE_EXPOSED "should be exposed" +#define FOO_PIE_IS_TASTY 3.14159 + #define FOO_TYPE_INTERFACE (foo_interface_get_type ()) #define FOO_INTERFACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FOO_TYPE_INTERFACE, FooInterface)) #define FOO_IS_INTERFACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FOO_TYPE_INTERFACE)) |