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:
authorGeoffrey Bantle <hairbat@yahoo.com>2010-04-16 20:19:36 +0400
committerGeoffrey Bantle <hairbat@yahoo.com>2010-04-16 20:19:36 +0400
commit2241299c206e2191eed9f0d17ef329dd1791b044 (patch)
tree04e1c0d83800510c2a1bd268b9d09594db8fec1e
parentd3f69c8bce52536cbd5c5b67ce14da7b316164cb (diff)
-->Fix for compile on MSVC
Expansion of BASE_MATH_MEMBERS macro meant that two consecutive semicolons were in the source in most header files that used it.
-rw-r--r--source/blender/python/generic/mathutils_color.h2
-rw-r--r--source/blender/python/generic/mathutils_euler.h2
-rw-r--r--source/blender/python/generic/mathutils_matrix.h2
-rw-r--r--source/blender/python/generic/mathutils_quat.h2
-rw-r--r--source/blender/python/generic/mathutils_vector.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/generic/mathutils_color.h b/source/blender/python/generic/mathutils_color.h
index 5e5800c9448..02b27d86817 100644
--- a/source/blender/python/generic/mathutils_color.h
+++ b/source/blender/python/generic/mathutils_color.h
@@ -37,7 +37,7 @@ extern PyTypeObject color_Type;
#define ColorObject_Check(_v) PyObject_TypeCheck((_v), &color_Type)
typedef struct {
- BASE_MATH_MEMBERS(col);
+ BASE_MATH_MEMBERS(col)
} ColorObject;
/*struct data contains a pointer to the actual data that the
diff --git a/source/blender/python/generic/mathutils_euler.h b/source/blender/python/generic/mathutils_euler.h
index 1f63ddecd81..b8523c3b661 100644
--- a/source/blender/python/generic/mathutils_euler.h
+++ b/source/blender/python/generic/mathutils_euler.h
@@ -37,7 +37,7 @@ extern PyTypeObject euler_Type;
#define EulerObject_Check(_v) PyObject_TypeCheck((_v), &euler_Type)
typedef struct {
- BASE_MATH_MEMBERS(eul);
+ BASE_MATH_MEMBERS(eul)
unsigned char order; /* rotation order */
} EulerObject;
diff --git a/source/blender/python/generic/mathutils_matrix.h b/source/blender/python/generic/mathutils_matrix.h
index cb2876dce32..21538f8168e 100644
--- a/source/blender/python/generic/mathutils_matrix.h
+++ b/source/blender/python/generic/mathutils_matrix.h
@@ -37,7 +37,7 @@ extern PyTypeObject matrix_Type;
#define MATRIX_MAX_DIM 4
typedef struct {
- BASE_MATH_MEMBERS(contigPtr);
+ BASE_MATH_MEMBERS(contigPtr)
unsigned char rowSize;
unsigned int colSize;
diff --git a/source/blender/python/generic/mathutils_quat.h b/source/blender/python/generic/mathutils_quat.h
index 151c8c8d2c7..c9ec12d6152 100644
--- a/source/blender/python/generic/mathutils_quat.h
+++ b/source/blender/python/generic/mathutils_quat.h
@@ -37,7 +37,7 @@ extern PyTypeObject quaternion_Type;
#define QuaternionObject_Check(_v) PyObject_TypeCheck((_v), &quaternion_Type)
typedef struct {
- BASE_MATH_MEMBERS(quat);
+ BASE_MATH_MEMBERS(quat)
} QuaternionObject;
/*struct data contains a pointer to the actual data that the
diff --git a/source/blender/python/generic/mathutils_vector.h b/source/blender/python/generic/mathutils_vector.h
index 0efeca491c0..42b9849dd3f 100644
--- a/source/blender/python/generic/mathutils_vector.h
+++ b/source/blender/python/generic/mathutils_vector.h
@@ -37,7 +37,7 @@ extern PyTypeObject vector_Type;
#define VectorObject_Check(_v) PyObject_TypeCheck((_v), &vector_Type)
typedef struct {
- BASE_MATH_MEMBERS(vec);
+ BASE_MATH_MEMBERS(vec)
unsigned char size; /* vec size 2,3 or 4 */
} VectorObject;