GNOME Bugzilla – Bug 741604
Out param missing '*' in c:type="TypeName"
Last modified: 2014-12-16 16:36:07 UTC
An interface vfunc with an Boxed out param is currently broken with PyGObject because g_type_info_is_pointer() returns FALSE. Adding the extra '*' is what g-ir-scanner produces and fixes PyGObject.
Created attachment 292845 [details] [review] girwriter: Fix writing type for out params The extra '*' is required for g_type_info_is_pointer() to return TRUE. This fixes PyGObject marshaling for an interface vfunc with a Boxed out param. This fixes my test case.
commit 670a640a7c4deea0f93ca7653aa9b3791d559100 Author: Garrett Regier <garrett.regier@riftio.com> Date: Tue Dec 16 08:04:07 2014 -0800 girwriter: Fix writing type for out params The extra '*' is required for g_type_info_is_pointer() to return TRUE. This fixes PyGObject marshaling for an interface vfunc with a Boxed out param. https://bugzilla.gnome.org/show_bug.cgi?id=741604 Signed-off-by: Garrett Regier <garrett.regier@riftio.com> This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.