diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scanner/foo-expected.gir | 5 | ||||
-rw-r--r-- | tests/scanner/foo.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/scanner/foo-expected.gir b/tests/scanner/foo-expected.gir index 057c3a70..81158550 100644 --- a/tests/scanner/foo-expected.gir +++ b/tests/scanner/foo-expected.gir @@ -245,6 +245,11 @@ <member name="deux" value="2" c:identifier="FOO_ENUM_DEUX"/> <member name="trois" value="3" c:identifier="FOO_ENUM_TROIS"/> </enumeration> + <enumeration name="EnumFullname" c:type="FooEnumFullname"> + <member name="one" value="1" c:identifier="FOO_ENUM_FULLNAME_ONE"/> + <member name="two" value="2" c:identifier="FOO_ENUM_FULLNAME_TWO"/> + <member name="three" value="3" c:identifier="FOO_ENUM_FULLNAME_THREE"/> + </enumeration> <record name="Boxed" c:type="FooBoxed" glib:type-name="FooBoxed" diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h index d00eff37..3183c883 100644 --- a/tests/scanner/foo.h +++ b/tests/scanner/foo.h @@ -106,6 +106,13 @@ typedef enum GType foo_flags_type_get_type (void); +typedef enum +{ + FOO_ENUM_FULLNAME_ONE = 1, + FOO_ENUM_FULLNAME_TWO, + FOO_ENUM_FULLNAME_THREE +} FooEnumFullname; + typedef struct _FooBoxed FooBoxed; GType foo_boxed_get_type (void) G_GNUC_CONST; |