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 779363 - egg-task-cache: Allow NULL key_copy_func and key_destroy_func
egg-task-cache: Allow NULL key_copy_func and key_destroy_func
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-28 09:49 UTC by Debarshi Ray
Modified: 2017-02-28 19:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
egg-task-cache: Allow NULL as key_copy_func and key_destroy_func (2.19 KB, patch)
2017-02-28 09:50 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2017-02-28 09:49:23 UTC
I want to use raw gpointers as keys in an EggTaskCache. It will be convenient if EggTaskCache accepts NULL as key_copy_func and key_destroy_func, instead of me having to pass a pair of dummies from the application.
Comment 1 Debarshi Ray 2017-02-28 09:50:49 UTC
Created attachment 346893 [details] [review]
egg-task-cache: Allow NULL as key_copy_func and key_destroy_func
Comment 2 Christian Hergert 2017-02-28 19:08:36 UTC
Review of attachment 346893 [details] [review]:

Cool, LGTM
Comment 3 Christian Hergert 2017-02-28 19:19:06 UTC
Attachment 346893 [details] pushed as 50c0733 - egg-task-cache: Allow NULL as key_copy_func and key_destroy_func