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 677124 - gi: Support zero-terminated arrays with length arguments
gi: Support zero-terminated arrays with length arguments
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-30 20:51 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2012-05-30 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gi: Support zero-terminated arrays with length arguments (2.13 KB, patch)
2012-05-30 20:51 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2012-05-30 20:51:37 UTC
This adds support for something like GLib.KeyFile.set_string_list
Comment 1 Jasper St. Pierre (not reading bugmail) 2012-05-30 20:51:39 UTC
Created attachment 215281 [details] [review]
gi: Support zero-terminated arrays with length arguments

Sometimes, you may see (array zero-terminated=1 length=length) annotations.
Don't expose the length argument to the user in this case.
Comment 2 Paolo Borelli 2012-05-30 21:03:41 UTC
Review of attachment 215281 [details] [review]:

are those new g-i functions? If yes, we should probably bump the g-i requirement.

Apart from that the patch looks good to me
Comment 3 Jasper St. Pierre (not reading bugmail) 2012-05-30 21:10:03 UTC
Review of attachment 215281 [details] [review]:

Are what functions new?
Comment 4 Paolo Borelli 2012-05-30 21:13:37 UTC
ignore me, I misread the patch... I should not look at thes at 23 pm


anyway it still it is ok to commit for me
Comment 5 Jasper St. Pierre (not reading bugmail) 2012-05-30 21:28:13 UTC
Attachment 215281 [details] pushed as 274d60a - gi: Support zero-terminated arrays with length arguments