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 61
|
<?xml version="1.0"?>
<repository version="1.2" 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">
<include name="GObject" version="2.0"/>
<include name="GLib" version="2.0"/>
<include name="Gio" version="2.0"/>
<package name="test"/>
<c:include name="test.h"/>
<namespace name="Test" version="1.0" shared-library="test" c:prefix="Test" c:identifier-prefixes="Test" c:symbol-prefixes="test">
<function name="get_array_return" c:identifier="test_get_array_return">
<return-value transfer-ownership="none">
<array zero-terminated="0" c:type="gpointer*" fixed-size="16">
<type name="guint8"/>
</array>
</return-value>
</function>
<function name="change_array" c:identifier="test_change_array">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="array"
direction="inout"
transfer-ownership="full">
<array zero-terminated="0" c:type="gpointer*" fixed-size="2">
<type name="guint8"/>
</array>
</parameter>
</parameters>
</function>
<function name="get_array_out" c:identifier="test_get_array_out">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="array"
direction="out"
transfer-ownership="full">
<array zero-terminated="0" c:type="gpointer*" fixed-size="8">
<type name="guint8"/>
</array>
</parameter>
</parameters>
</function>
<function name="set_array" c:identifier="test_set_array">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="array"
transfer-ownership="none">
<array zero-terminated="0" c:type="gpointer*" fixed-size="4">
<type name="guint8"/>
</array>
</parameter>
</parameters>
</function>
</namespace>
</repository>
|