From 2af5386d6cc1deba21f03c398c6368a9de6ed4ba Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 27 Feb 2013 12:14:16 +0100 Subject: Add test case for signal with a C array and length argument By-product of https://bugzilla.gnome.org/show_bug.cgi?id=662241. --- .../Regress.TestObj-sig-with-array-len-prop.page | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page (limited to 'tests/scanner/Regress-1.0-Python-expected') diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page new file mode 100644 index 00000000..a228de1f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page @@ -0,0 +1,49 @@ + + + + + + sig-with-array-len-prop + + + Regress.TestObj::sig-with-array-len-prop + + +def callback(test_obj, arr, len, user_param1, ...) + + + +

This test signal similar to GSettings::change-event

+ + + + + + +<code>test_obj</code> +

instance of that is emitting the signal

+
+ +<code>arr</code> +

numbers, or None

+
+ +<code>len</code> +

length of arr, or 0

+
+<code>user_param1</code> +

first user parameter (if any) specified with the connect() method

+ +<code>...</code> +

additional user parameters (if any)

+
+
+ + + +
-- cgit v1.2.1