diff options
Diffstat (limited to 'tests/enum.gir')
-rw-r--r-- | tests/enum.gir | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/enum.gir b/tests/enum.gir new file mode 100644 index 00000000..f91e6a95 --- /dev/null +++ b/tests/enum.gir @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<repository version="1.0" + xmlns="http://www.gtk.org/introspection/core/1.0" + xmlns:c="http://www.gtk.org/introspection/c/1.0" + xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> + <namespace name="Foo"> + <enum name="Enum1" type-name="FooEnum" get-type="foo_enum_get_type"> + <member name="value1" value="0" /> + <member name="value2" value="1" /> + <member name="value3" value="2" /> + </enum> + <flags name="Flags1" type-name="FooFlags" get-type="foo_flags_get_type"> + <member name="value1" value="1" /> + <member name="value2" value="2" /> + <member name="value3" value="4" /> + </flags> + <enum name="Enum2"> + <member name="value1" value="0" /> + <member name="value2" value="1" /> + <member name="value3" value="2" /> + </enum> + </namespace> +</repository> |