diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2018-05-09 23:38:38 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2018-06-20 18:33:32 -0700 |
commit | c4f5896068ca342b75bc438af0b78d44cf635305 (patch) | |
tree | 249fb8a3b5cf2e4b709895724ec3b8363940ba4b /tests/scanner/Regress-1.0-expected.gir | |
parent | 4fa6c29987ac23ff1e1f094a3d0ef4c4bcdacf4f (diff) | |
download | gobject-introspection-c4f5896068ca342b75bc438af0b78d44cf635305.tar.gz |
regress: Add test with signal inout parameter
This is modeled after GtkEditable::insert-text which isn't marshalled
properly in GJS.
See gjs#147.
Diffstat (limited to 'tests/scanner/Regress-1.0-expected.gir')
-rw-r--r-- | tests/scanner/Regress-1.0-expected.gir | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir index 316c12ca..ad6af895 100644 --- a/tests/scanner/Regress-1.0-expected.gir +++ b/tests/scanner/Regress-1.0-expected.gir @@ -3134,6 +3134,19 @@ case.</doc> </instance-parameter> </parameters> </method> + <method name="emit_sig_with_inout_int" + c:identifier="regress_test_obj_emit_sig_with_inout_int"> + <doc xml:space="preserve">The signal handler must increment the inout parameter by 1.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <instance-parameter name="obj" transfer-ownership="none"> + <doc xml:space="preserve">The object to emit the signal.</doc> + <type name="TestObj" c:type="RegressTestObj*"/> + </instance-parameter> + </parameters> + </method> <method name="emit_sig_with_int64" c:identifier="regress_test_obj_emit_sig_with_int64"> <return-value transfer-ownership="none"> @@ -3787,6 +3800,23 @@ raise from the introspection client language.</doc> </parameter> </parameters> </glib:signal> + <glib:signal name="sig-with-inout-int" when="last"> + <doc xml:space="preserve">This signal is modeled after GtkEditable::insert-text.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="position" + direction="inout" + caller-allocates="0" + transfer-ownership="full"> + <doc xml:space="preserve">The position, in characters, at which to + insert the new text. This is an in-out paramter. After the signal + emission is finished, it should point after the newly inserted text.</doc> + <type name="gint" c:type="gpointer"/> + </parameter> + </parameters> + </glib:signal> <glib:signal name="sig-with-int64-prop" when="last"> <doc xml:space="preserve">You can use this with regress_test_obj_emit_sig_with_int64, or raise from the introspection client langage.</doc> |