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 621655 - And make the hash table useful
And make the hash table useful
Status: RESOLVED FIXED
Product: libpeas
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks:
 
 
Reported: 2010-06-15 15:02 UTC by Bastien Nocera
Modified: 2010-06-15 17:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
And make the hash table useful (1015 bytes, patch)
2010-06-15 15:02 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2010-06-15 15:02:53 UTC
The hash table is useless using a direct hash, as the keys aren't pointers.
Comment 1 Bastien Nocera 2010-06-15 15:02:55 UTC
Created attachment 163684 [details] [review]
And make the hash table useful

Because g_direct_hash should only be used when a pointer
is used as the key, not for strings.
Comment 2 Steve Frécinaux 2010-06-15 17:21:57 UTC
Attachment 163684 [details] pushed as 7d27625 - And make the hash table useful