summaryrefslogtreecommitdiff
path: root/auto/types.in
blob: df24f5a8ea9ff25c1807050bd2efde0304e365ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<collection>

<spec_type>
  <kind>
    common_param
  </kind>
  <name>
    poptBits
  </name>
  <data_type>
    poptBits
  </data_type>
  <value>
    create_poptBits()
  </value>
  <global_code>
    poptBits create_poptBits()
    {
	poptBits a = NULL;
	(void) poptSaveBits(&a, 0, "foo");
	(void) poptSaveBits(&a, 0, "bar");
	(void) poptSaveBits(&a, 0, "baz");
	return a;
    }
  </global_code>
</spec_type>

<spec_type>
  <kind>
    normal
  </kind>
  <data_type>
    const char ***
  </data_type>
  <value>
    &av
  </value>
  <global_code>
    #include <malloc.h>
  </global_code>
  <init_code>
    const char ** av = NULL;
  </init_code>
  <final_code>
    free(av[0]);
    free(av);
  </final_code>
  <associating>
    <interfaces>
      poptSaveString
    </interfaces>
    <links>
      param1
    </links>
  </associating>
</spec_type>

</collection>