From 2241299c206e2191eed9f0d17ef329dd1791b044 Mon Sep 17 00:00:00 2001 From: Geoffrey Bantle Date: Fri, 16 Apr 2010 16:19:36 +0000 Subject: -->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. --- source/blender/python/generic/mathutils_color.h | 2 +- source/blender/python/generic/mathutils_euler.h | 2 +- source/blender/python/generic/mathutils_matrix.h | 2 +- source/blender/python/generic/mathutils_quat.h | 2 +- source/blender/python/generic/mathutils_vector.h | 2 +- 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; -- cgit v1.2.3