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')
-rwxr-xr-xsource/blender/blenlib/BLI_smallhash.h6
-rwxr-xr-xsource/blender/blenlib/BLI_sparsemap.h10
2 files changed, 13 insertions, 3 deletions
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