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-09-05 23:56:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-05 23:56:49 +0400
commitf6b37f34ec2593b12b67046cf032acc202e2fa54 (patch)
tree7527f1fb6382d593bb808edccfd4d17eeb4119d5 /source/blender/makesrna/intern/rna_test.c
parent5036d6b1dd0070c7e14992990c6d88c9099352b4 (diff)
code cleanup:
- add missing headers from cmake (own omission) - quiet rna_test.c unused define warnings. - minor style edits - spelling corrections and ignore all uppercase words with spell checking script.
Diffstat (limited to 'source/blender/makesrna/intern/rna_test.c')
-rw-r--r--source/blender/makesrna/intern/rna_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_test.c b/source/blender/makesrna/intern/rna_test.c
index 22b6f323647..e54e5f9bcad 100644
--- a/source/blender/makesrna/intern/rna_test.c
+++ b/source/blender/makesrna/intern/rna_test.c
@@ -34,6 +34,8 @@
#include "rna_internal.h"
+#ifdef RNA_RUNTIME
+
#define ARRAY_SIZE 3
#define DYNAMIC_ARRAY_SIZE 64
#define MARRAY_DIM [3][4][5]
@@ -43,8 +45,6 @@
#define DYNAMIC_MARRAY_DIM [3][4][5]
#define DYNAMIC_MARRAY_SIZE(type) (sizeof(type DYNAMIC_MARRAY_DIM) / sizeof(type))
-#ifdef RNA_RUNTIME
-
#ifdef UNIT_TEST
#define DEF_VARS(type, prefix) \