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 17:08:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-24 17:08:55 +0400
commitf2acb10b6b160b9ab85591d4717e27be800a0568 (patch)
tree367c137cfb82c88e2fbe5ab3e4ae23d0ea18731d /source/blender/blenlib/BLI_edgehash.h
parent9c090cecfe21ef357031373b0711a2bc57ee5176 (diff)
edge hash: take an arg for the guarded-malloc string (as ghash does)
Diffstat (limited to 'source/blender/blenlib/BLI_edgehash.h')
-rw-r--r--source/blender/blenlib/BLI_edgehash.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_edgehash.h b/source/blender/blenlib/BLI_edgehash.h
index f961d73cd79..80eac9199e3 100644
--- a/source/blender/blenlib/BLI_edgehash.h
+++ b/source/blender/blenlib/BLI_edgehash.h
@@ -40,8 +40,9 @@ enum {
EDGEHASH_FLAG_ALLOW_DUPES = (1 << 0), /* only checked for in debug mode */
};
-EdgeHash *BLI_edgehash_new_ex(const unsigned int nentries_reserve);
-EdgeHash *BLI_edgehash_new(void);
+EdgeHash *BLI_edgehash_new_ex(const char *info,
+ const unsigned int nentries_reserve);
+EdgeHash *BLI_edgehash_new(const char *info);
void BLI_edgehash_free(EdgeHash *eh, EdgeHashFreeFP valfreefp);
void BLI_edgehash_insert(EdgeHash *eh, unsigned int v0, unsigned int v1, void *val);
void BLI_edgehash_assign(EdgeHash *eh, unsigned int v0, unsigned int v1, void *val);