-->Fix for compile on MSVC
authorGeoffrey Bantle <hairbat@yahoo.com>
Fri, 16 Apr 2010 16:19:36 +0000 (16:19 +0000)
committerGeoffrey Bantle <hairbat@yahoo.com>
Fri, 16 Apr 2010 16:19:36 +0000 (16:19 +0000)
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
source/blender/python/generic/mathutils_euler.h
source/blender/python/generic/mathutils_matrix.h
source/blender/python/generic/mathutils_quat.h
source/blender/python/generic/mathutils_vector.h

index 5e5800c9448c6f38778e38ca46592d115a6539a9..02b27d86817ce06e5c13f4435c31ebdeb8d7b9c8 100644 (file)
@@ -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
index 1f63ddecd813a2bcc5c165920042d4feb3e54ce5..b8523c3b6618a5a602a34e82780ccc8fecc8fa69 100644 (file)
@@ -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;
index cb2876dce32f070c8601bcda9bcb34cafb29ef8b..21538f8168e241be2f9cd41fd8da63d83170c774 100644 (file)
@@ -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;
index 151c8c8d2c7c8542039db8b64714d825ff4853bc..c9ec12d6152386d839cf694dcc4bb7ae3e878449 100644 (file)
@@ -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
index 0efeca491c046574887a424f0787671f28567179..42b9849dd3f91b4450d3ac008388cfd6958a5f69 100644 (file)
@@ -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;