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-25 00:16:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-25 00:16:14 +0400
commit7c65015ab84360f7e029a5495324a595fec3eee1 (patch)
treeb86b89fa96db1d0cc1adfddadc40834ce2553e10 /source/blender/blenlib/BLI_edgehash.h
parent4ece67578188d28e6e922434156440fa6b32a63e (diff)
use ints for ghash/edgehash flags, since its allocated theres not much point to try save a few bytes here.
Diffstat (limited to 'source/blender/blenlib/BLI_edgehash.h')
-rw-r--r--source/blender/blenlib/BLI_edgehash.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_edgehash.h b/source/blender/blenlib/BLI_edgehash.h
index b79fe669f20..bece13a99bf 100644
--- a/source/blender/blenlib/BLI_edgehash.h
+++ b/source/blender/blenlib/BLI_edgehash.h
@@ -51,8 +51,8 @@ void **BLI_edgehash_lookup_p(EdgeHash *eh, unsigned int v0, unsigned in
bool BLI_edgehash_haskey(EdgeHash *eh, unsigned int v0, unsigned int v1);
int BLI_edgehash_size(EdgeHash *eh);
void BLI_edgehash_clear(EdgeHash *eh, EdgeHashFreeFP valfreefp);
-void BLI_edgehash_flag_set(EdgeHash *eh, unsigned short flag);
-void BLI_edgehash_flag_clear(EdgeHash *eh, unsigned short flag);
+void BLI_edgehash_flag_set(EdgeHash *eh, unsigned int flag);
+void BLI_edgehash_flag_clear(EdgeHash *eh, unsigned int flag);
EdgeHashIterator *BLI_edgehashIterator_new(EdgeHash *eh);
void BLI_edgehashIterator_free(EdgeHashIterator *ehi);
@@ -65,5 +65,4 @@ bool BLI_edgehashIterator_isDone(EdgeHashIterator *ehi);
#define BLI_EDGEHASH_SIZE_GUESS_FROM_LOOPS(totloop) ((totloop) / 2)
#define BLI_EDGEHASH_SIZE_GUESS_FROM_POLYS(totpoly) ((totpoly) * 2)
-
-#endif
+#endif /* __BLI_EDGEHASH_H__ */