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/makesdna/DNA_defs.h')
-rw-r--r--source/blender/makesdna/DNA_defs.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_defs.h b/source/blender/makesdna/DNA_defs.h
index 958909987f0..092dd9d3bcc 100644
--- a/source/blender/makesdna/DNA_defs.h
+++ b/source/blender/makesdna/DNA_defs.h
@@ -25,31 +25,30 @@
/* makesdna ignores */
#ifdef DNA_DEPRECATED_ALLOW
- /* allow use of deprecated items */
+/* allow use of deprecated items */
# define DNA_DEPRECATED
#else
# ifndef DNA_DEPRECATED
# ifdef __GNUC__
-# define DNA_DEPRECATED __attribute__ ((deprecated))
+# define DNA_DEPRECATED __attribute__((deprecated))
# else
- /* TODO, msvc & others */
+/* TODO, msvc & others */
# define DNA_DEPRECATED
# endif
# endif
#endif
#ifdef __GNUC__
-# define DNA_PRIVATE_ATTR __attribute__ ((deprecated))
+# define DNA_PRIVATE_ATTR __attribute__((deprecated))
#else
# define DNA_PRIVATE_ATTR
#endif
-
/* poison pragma */
#ifdef DNA_DEPRECATED_ALLOW
# define DNA_DEPRECATED_GCC_POISON 0
#else
- /* enable the pragma if we can */
+/* enable the pragma if we can */
# ifdef __GNUC__
# define DNA_DEPRECATED_GCC_POISON 1
# else
@@ -57,7 +56,6 @@
# endif
#endif
-
/* hrmf, we need a better include then this */
#include "../blenlib/BLI_sys_types.h" /* needed for int64_t only! */