Release 0.41.92
[vala-gnome.git] / tests / gir / delegate-closure-destroy-index-conflict.test
blob4bf57bfa630402db22faf5277baf239584ddd8be
1 GIR
3 Input:
5 <function name="function" c:identifier="test_function">
6   <return-value transfer-ownership="none">
7     <type name="none"/>
8   </return-value>
9   <parameters>
10     <parameter name="callback" transfer-ownership="none" allow-none="1" closure="1" scope="notified" destroy="2">
11       <type name="GLib.Func" c:type="GFunc"/>
12     </parameter>
13     <parameter name="callback_target" transfer-ownership="none" allow-none="1" closure="0">
14       <type name="gpointer" c:type="void*"/>
15     </parameter>
16     <parameter name="callback_target_destroy_notify" transfer-ownership="none" scope="call" destroy="0">
17       <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
18     </parameter>
19   </parameters>
20 </function>
22 Output:
24 [CCode (cheader_filename = "test.h")]
25 public static void function (owned GLib.Func? callback);