Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-08-24 19:14:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-24 19:14:50 +0400
commit4b1fc0593ec790b30c211a2d8edbbc47577f6c76 (patch)
treed78d2677588219e9989420da2ef790dccfab2e3b /source/blender/blenlib/BLI_ghash.h
parentaefe93d909fc41c739d47a7e6a71f0f7d72a5479 (diff)
add versions of BLI_ghash_int_new, BLI_ghash_str_new, etc. that take a reserve argument.
Diffstat (limited to 'source/blender/blenlib/BLI_ghash.h')
-rw-r--r--source/blender/blenlib/BLI_ghash.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h
index 5f748fcaecd..fe24d9a0069 100644
--- a/source/blender/blenlib/BLI_ghash.h
+++ b/source/blender/blenlib/BLI_ghash.h
@@ -153,9 +153,17 @@ int BLI_ghashutil_strcmp(const void *a, const void *b);
unsigned int BLI_ghashutil_inthash(const void *ptr);
int BLI_ghashutil_intcmp(const void *a, const void *b);
+GHash *BLI_ghash_ptr_new_ex(const char *info,
+ const unsigned int nentries_reserve);
GHash *BLI_ghash_ptr_new(const char *info);
+GHash *BLI_ghash_str_new_ex(const char *info,
+ const unsigned int nentries_reserve);
GHash *BLI_ghash_str_new(const char *info);
+GHash *BLI_ghash_int_new_ex(const char *info,
+ const unsigned int nentries_reserve);
GHash *BLI_ghash_int_new(const char *info);
+GHash *BLI_ghash_pair_new_ex(const char *info,
+ const unsigned int nentries_reserve);
GHash *BLI_ghash_pair_new(const char *info);
typedef struct GHashPair {