</parameter>
</parameters>
</virtual-method>
+ <function name="static_method" c:identifier="gir_test_interface_test_static_method">
+ <return-value transfer-ownership="full">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </function>
<property name="property" writable="1" construct="1">
<type name="gint" c:type="gint"/>
</property>
</parameter>
</parameters>
</virtual-method>
+ <method name="some_signal" c:identifier="gir_test_interface_test_some_signal">
+ <return-value transfer-ownership="full">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <type name="GirTest.InterfaceTest" c:type="GirTestInterfaceTest*"/>
+ </instance-parameter>
+ <parameter name="param" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <glib:signal name="some-signal">
+ <return-value transfer-ownership="full">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="param" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
</interface>
<record name="InterfaceTestIface" c:type="GirTestInterfaceTestIface" glib:is-gtype-struct-for="InterfaceTest">
<field name="parent_iface" readable="0" private="1">
AbstractObjectTest
+ .method_throw throws="GirTest.ErrorTest"
.method_valist skip=false
.*#virtual_method abstract
BoxedStruct struct
CompactClass struct=false
.s unowned=false
+DelegateErrorTest throws="GirTest.ErrorTest"
InterfaceTest
.*#virtual_method virtual
ObjectTest
+ .coroutine_method_throw throws="GirTest.ErrorTest"
.fixed_array_field unowned=false
+ .method_throw throws="GirTest.ErrorTest"
+ .method_valist skip=false
+ .method_varargs skip=false
+ .new_valist name="new_valist" skip=false
+ .newv skip=false
+ .may_fail throws="GirTest.ErrorTest"
.nullable_field unowned=false
+ .simple_throw throws="GirTest.ErrorTest"
SubTypeTest
.array_field unowned=false
.delegate_field unowned=false
public abstract void method_int8_in (int8 param);
public abstract void method_int8_inout (ref int8 param);
public abstract void method_int8_out (out int8 param);
- public abstract void method_throw () throws GLib.Error;
+ public abstract void method_throw () throws GirTest.ErrorTest;
public abstract void method_valist (int param, va_list vargs);
[NoWrapper]
public abstract void no_wrapper_method ();
[CCode (array_length_pos = 0.1)]
public (unowned string)[] container_return ();
public async void coroutine_async ();
- public virtual async void coroutine_method_throw (int i1, out int o1) throws GLib.Error;
+ public virtual async void coroutine_method_throw (int i1, out int o1) throws GirTest.ErrorTest, GLib.Error;
public virtual void coroutine_method_throw_finish (GLib.AsyncResult _res_, out int o1) throws GLib.Error;
public virtual async void coroutine_virtual_async ();
public virtual void coroutine_virtual_finish (GLib.AsyncResult _res_);
public int[] int_in_int_in_array_return (int param1, int param2);
public virtual void internal_method_with_default_impl (int8 param);
[CCode (cname = "gir_test_object_test_new_may_fail", has_construct_function = false)]
- public ObjectTest.may_fail (int param) throws GLib.Error;
+ public ObjectTest.may_fail (int param) throws GirTest.ErrorTest;
public void method ();
- public virtual void method_throw () throws GLib.Error;
+ public virtual void method_throw () throws GirTest.ErrorTest;
+ public void method_valist (int param, va_list vargs);
+ public void method_varargs (int param, ...);
public void method_with_default (int i);
public virtual void method_with_default_impl (int8 param);
+ [CCode (cname = "gir_test_object_test_new_newv", has_construct_function = false)]
+ public ObjectTest.newv (int param, ...);
[NoWrapper]
public virtual void no_wrapper_method ();
[NoWrapper]
public void set_some_property (string value);
public void set_write_only_property (string value);
public unowned GLib.EqualFunc simple_delegate_return ();
- public void simple_throw () throws GLib.Error;
+ public void simple_throw () throws GirTest.ErrorTest;
public static void static_method ();
public void string_array_out ([CCode (array_length_cname = "array_length1", array_length_pos = 1.1)] out string[] array);
[CCode (array_length_pos = 0.1)]
public string[] string_array_return ();
+ [CCode (cname = "gir_test_object_test_new_new_valist", has_construct_function = false)]
+ public ObjectTest.valist (int param, va_list vargs);
[CCode (cname = "gir_test_object_test_new_with_int", has_construct_function = false)]
public ObjectTest.with_int (int param);
[NoAccessorMethod]
[NoWrapper]
public virtual async void no_wrapper_method_async ();
public virtual void set_property (int value);
+ public static void static_method ();
public abstract int property { get; set construct; }
+ [HasEmitter]
+ public signal void some_signal (int param);
}
[CCode (cheader_filename = "girtest.h", type_id = "gir_test_prerequisite_test_get_type ()")]
public interface PrerequisiteTest : GirTest.InterfaceTest, GLib.Object {
FISHY
}
[CCode (cheader_filename = "girtest.h", has_target = false)]
- public delegate bool DelegateErrorTest () throws GLib.Error;
+ public delegate bool DelegateErrorTest () throws GirTest.ErrorTest;
[CCode (cheader_filename = "girtest.h", instance_pos = 8.9)]
public delegate bool DelegateGenericsTest (GLib.Type g_type, GLib.BoxedCopyFunc g_dup_func, GLib.DestroyNotify g_destroy_func, GLib.Type t_type, GLib.BoxedCopyFunc t_dup_func, GLib.DestroyNotify t_destroy_func, void* g, void* t);
[CCode (cheader_filename = "girtest.h", instance_pos = 2.9)]