After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709173 - anotation _get_genicam_xml
anotation _get_genicam_xml
Status: RESOLVED FIXED
Product: aravis
Classification: Other
Component: Other
git master
Other Linux
: Normal normal
: ---
Assigned To: aravis-maint
aravis-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-01 10:42 UTC by olivier.roulet
Modified: 2013-10-11 08:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description olivier.roulet 2013-10-01 10:42:58 UTC
In commit 8a2d9856922e7b236af0d34ed2b08433c7d72b37 there is a change in annotation of _get_genicam_xml that makes it crash when used from python.

using array might be correct but my personal tests seems to indicate that the array annotation is completely broken

@@ -201,7 +210,7 @@ _get_genicam_xml (ArvDevice *device, size_t *size)
  *
  * Gets the Genicam XML data stored in the device memory.
  *
- * Returns: (transfer none) : a pointer to the Genicam XML data, owned by the device.
+ * Returns: (transfer none) (array length=size): a pointer to the Genicam XML data, owned by the device.
  *
  * Since: 0.2.0
  **/
Comment 1 Emmanuel Pacaud 2013-10-11 08:38:55 UTC
Thanks Olivier. I've pushed a fix to master for this issue.