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:
Diffstat (limited to 'source/blender/blenlib/BLI_sparsemap.h')
-rwxr-xr-xsource/blender/blenlib/BLI_sparsemap.h10
1 files changed, 10 insertions, 0 deletions
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