Hi,

Some recent PLDHashTable changes of note...

https://bugzilla.mozilla.org/show_bug.cgi?id=1201135 renamed
pldhash.{h,cpp} as PLDHashTable.{h,cpp}, to match the name of the type
defined within those files.

https://bugzilla.mozilla.org/show_bug.cgi?id=1121760 removed all the
PL_DHash*() functions. Please use the corresponding methods instead,
e.g. PLDHashTable::Search() instead of PL_DHashTableSearch().

https://bugzilla.mozilla.org/show_bug.cgi?id=1202526 added
PLDHashTable::RemoveEntry(), which is a method that removes an
already-found entry, and also (unlike RawRemove()) shrinks the table
afterwards if necessary. Combine that with the fact that PLDHashTable
supports removing iterators, there should be very little need for
PLDHashTable::RawRemove() to be used.

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to