From 2fcb6d058ea0c50f7f1c4d13e13708ddbacac71c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 12 Feb 2012 14:40:08 +0000 Subject: style cleanup for bmesh headers - use consistant header guards - correct doxy comments - remove ED_toolmode.h (unused) --- source/blender/blenlib/BLI_smallhash.h | 6 +++--- source/blender/blenlib/BLI_sparsemap.h | 10 ++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/BLI_smallhash.h b/source/blender/blenlib/BLI_smallhash.h index a8eb6fd2516..50631769ba9 100755 --- a/source/blender/blenlib/BLI_smallhash.h +++ b/source/blender/blenlib/BLI_smallhash.h @@ -25,8 +25,8 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef BLI_SMALLHASH_H -#define BLI_SMALLHASH_H +#ifndef __BLI_SMALLHASH_H__ +#define __BLI_SMALLHASH_H__ /** \file BLI_smallhash.h * \ingroup bli @@ -70,4 +70,4 @@ void * BLI_smallhash_iternext(SmallHashIter *iter, uintptr_t *key); void * BLI_smallhash_iternew(SmallHash *hash, SmallHashIter *iter, uintptr_t *key); /* void BLI_smallhash_print(SmallHash *hash); */ /* UNUSED */ -#endif // BLI_SMALLHASH_H +#endif /* __BLI_SMALLHASH_H__ */ diff --git a/source/blender/blenlib/BLI_sparsemap.h b/source/blender/blenlib/BLI_sparsemap.h index ea0d269d9c8..654cafbc200 100755 --- a/source/blender/blenlib/BLI_sparsemap.h +++ b/source/blender/blenlib/BLI_sparsemap.h @@ -24,6 +24,13 @@ * ***** END GPL LICENSE BLOCK ***** */ +#ifndef __BLI_SPARSEMAP_H__ +#define __BLI_SPARSEMAP_H__ + +/** \file BLI_sparsemap.h + * \ingroup bli + */ + #include "BLI_math_inline.h" typedef struct SparseMap { @@ -68,4 +75,7 @@ MALWAYS_INLINE void BLI_sparsemap_set(SparseMap *sm, int index, void *ptr) sm->blocks[index/sm->blocksize] = ptr; } + +#endif /* __BLI_SPARSEMAP_H__ */ + #endif -- cgit v1.2.3