summaryrefslogtreecommitdiff
path: root/tests/enum.gir
blob: 5da381ec1904085f5c6b41318bb93874c0453f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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">
    <enumeration name="Enum1" glib:type-name="FooEnum" glib:get-type="foo_enum_get_type">
      <member name="value1" value="0" />
      <member name="value2" value="1" />
      <member name="value3" value="2" />
    </enumeration>
    <bitfield name="Flags1" glib:type-name="FooFlags" glib:get-type="foo_flags_get_type">
      <member name="value1" value="1" />
      <member name="value2" value="2" />
      <member name="value3" value="4" />
    </bitfield>
    <enumeration name="Enum2">
      <member name="value1" value="0" />
      <member name="value2" value="1" />
      <member name="value3" value="2" />
    </enumeration>
  </namespace>
</repository>