[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [10818] branches/soc-2007-maike/source/ blender/blenlib/BLI_ghash.h: Added BLI_ghash_lookup_reset(GHash *gh, void *key):

Miguel Torres Lima torreslima at gmail.com
Wed May 30 16:54:50 CEST 2007


Revision: 10818
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=10818
Author:   maike
Date:     2007-05-30 16:54:50 +0200 (Wed, 30 May 2007)

Log Message:
-----------
Added BLI_ghash_lookup_reset(GHash *gh, void *key):
- returns value and sets key to NULL

Modified Paths:
--------------
    branches/soc-2007-maike/source/blender/blenlib/BLI_ghash.h

Modified: branches/soc-2007-maike/source/blender/blenlib/BLI_ghash.h
===================================================================
--- branches/soc-2007-maike/source/blender/blenlib/BLI_ghash.h	2007-05-30 10:36:17 UTC (rev 10817)
+++ branches/soc-2007-maike/source/blender/blenlib/BLI_ghash.h	2007-05-30 14:54:50 UTC (rev 10818)
@@ -50,6 +50,7 @@
 void	BLI_ghash_insert	(GHash *gh, void *key, void *val);
 int		BLI_ghash_remove	(GHash *gh, void *key, GHashKeyFreeFP keyfreefp, GHashValFreeFP valfreefp);
 void*	BLI_ghash_lookup	(GHash *gh, void *key);
+void*	BLI_ghash_lookup_reset	(GHash *gh, void *key);
 int		BLI_ghash_haskey	(GHash *gh, void *key);
 
 int		BLI_ghash_size		(GHash *gh);





More information about the Bf-blender-cvs mailing list