add BLI_ghash_pop() which returns the value for a key and removes it at the same...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 28 May 2012 19:33:14 +0000 (19:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 28 May 2012 19:33:14 +0000 (19:33 +0000)
commit4f90d757c79bc665c9e4d1cd32573d47e76d2ddd
tree6c4d74e8f9c985254e36304764e9b31eb3d15d53
parent131de4352b9e8f3e4ce77d2d9dc145f5db461aed
add BLI_ghash_pop() which returns the value for a key and removes it at the same time, saves a lookup if you need to check if the item exists before removing.
source/blender/blenlib/BLI_ghash.h
source/blender/blenlib/intern/BLI_ghash.c
source/blender/editors/curve/editcurve.c
source/blender/editors/sculpt_paint/paint_vertex.c