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 708250 - Add support for NULL-terminated GPtrArray
Add support for NULL-terminated GPtrArray
Status: RESOLVED DUPLICATE of bug 631210
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-09-17 16:00 UTC by Xavier Claessens
Modified: 2013-09-17 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier Claessens 2013-09-17 16:00:12 UTC
Just like GArray can be 0-terminated, it would be useful to have NULL-terminated GPtrArray. The use case for this is adding strings to the GPtrArray and having array->pdata being an strv.
Comment 1 Xavier Claessens 2013-09-17 16:01:50 UTC
Hum, sorry for the noise, this can be considered dup of bug #631210 actually.

*** This bug has been marked as a duplicate of bug 631210 ***