From 112162e09e486d787ace5ea4373fde8106f898c0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 30 Apr 2012 14:24:11 +0000 Subject: code cleanup: header cleanup --- source/blender/python/mathutils/mathutils.h | 11 ++++------- source/blender/python/mathutils/mathutils_Color.c | 1 - source/blender/python/mathutils/mathutils_Color.h | 1 - source/blender/python/mathutils/mathutils_Euler.c | 1 - source/blender/python/mathutils/mathutils_Euler.h | 10 ++++------ source/blender/python/mathutils/mathutils_Matrix.c | 1 - source/blender/python/mathutils/mathutils_Quaternion.h | 11 ++++------- source/blender/python/mathutils/mathutils_Vector.h | 1 - source/blender/python/mathutils/mathutils_geometry.c | 1 - source/blender/python/mathutils/mathutils_geometry.h | 11 ++++------- 10 files changed, 16 insertions(+), 33 deletions(-) (limited to 'source/blender/python/mathutils') diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h index e8d128b431e..d4673d14823 100644 --- a/source/blender/python/mathutils/mathutils.h +++ b/source/blender/python/mathutils/mathutils.h @@ -1,5 +1,4 @@ -/* - * +/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -26,15 +25,13 @@ * ***** END GPL LICENSE BLOCK ***** */ +#ifndef __MATHUTILS_H__ +#define __MATHUTILS_H__ + /** \file blender/python/mathutils/mathutils.h * \ingroup pymathutils */ -//Include this file for access to vector, quat, matrix, euler, etc... - -#ifndef __MATHUTILS_H__ -#define __MATHUTILS_H__ - /* Can cast different mathutils types to this, use for generic funcs */ struct DynStr; diff --git a/source/blender/python/mathutils/mathutils_Color.c b/source/blender/python/mathutils/mathutils_Color.c index fc8b2886f37..0f421f1ddea 100644 --- a/source/blender/python/mathutils/mathutils_Color.c +++ b/source/blender/python/mathutils/mathutils_Color.c @@ -1,5 +1,4 @@ /* - * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or diff --git a/source/blender/python/mathutils/mathutils_Color.h b/source/blender/python/mathutils/mathutils_Color.h index 2bf6ba2ef1f..eff09c25a99 100644 --- a/source/blender/python/mathutils/mathutils_Color.h +++ b/source/blender/python/mathutils/mathutils_Color.h @@ -1,5 +1,4 @@ /* - * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c index a663bd71130..583831b1655 100644 --- a/source/blender/python/mathutils/mathutils_Euler.c +++ b/source/blender/python/mathutils/mathutils_Euler.c @@ -1,5 +1,4 @@ /* - * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or diff --git a/source/blender/python/mathutils/mathutils_Euler.h b/source/blender/python/mathutils/mathutils_Euler.h index 56199f4a546..bcbc6c60ca7 100644 --- a/source/blender/python/mathutils/mathutils_Euler.h +++ b/source/blender/python/mathutils/mathutils_Euler.h @@ -1,5 +1,4 @@ -/* - * +/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -27,14 +26,13 @@ * */ +#ifndef __MATHUTILS_EULER_H__ +#define __MATHUTILS_EULER_H__ + /** \file blender/python/mathutils/mathutils_Euler.h * \ingroup pymathutils */ - -#ifndef __MATHUTILS_EULER_H__ -#define __MATHUTILS_EULER_H__ - extern PyTypeObject euler_Type; #define EulerObject_Check(_v) PyObject_TypeCheck((_v), &euler_Type) diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index a48e7ed854d..5c4c6414f39 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -1,5 +1,4 @@ /* - * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or diff --git a/source/blender/python/mathutils/mathutils_Quaternion.h b/source/blender/python/mathutils/mathutils_Quaternion.h index 09faff192de..4ffe8488843 100644 --- a/source/blender/python/mathutils/mathutils_Quaternion.h +++ b/source/blender/python/mathutils/mathutils_Quaternion.h @@ -1,5 +1,4 @@ -/* - * +/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -24,17 +23,15 @@ * Contributor(s): Joseph Gilbert * * ***** END GPL LICENSE BLOCK ***** - * */ +#ifndef __MATHUTILS_QUATERNION_H__ +#define __MATHUTILS_QUATERNION_H__ + /** \file blender/python/mathutils/mathutils_Quaternion.h * \ingroup pymathutils */ - -#ifndef __MATHUTILS_QUATERNION_H__ -#define __MATHUTILS_QUATERNION_H__ - extern PyTypeObject quaternion_Type; #define QuaternionObject_Check(_v) PyObject_TypeCheck((_v), &quaternion_Type) diff --git a/source/blender/python/mathutils/mathutils_Vector.h b/source/blender/python/mathutils/mathutils_Vector.h index 04fd0adcda5..974abe0f869 100644 --- a/source/blender/python/mathutils/mathutils_Vector.h +++ b/source/blender/python/mathutils/mathutils_Vector.h @@ -1,5 +1,4 @@ /* - * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c index 543574e5136..203da5d1bd2 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -1,5 +1,4 @@ /* - * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or diff --git a/source/blender/python/mathutils/mathutils_geometry.h b/source/blender/python/mathutils/mathutils_geometry.h index ac89698c12e..3967c934ce9 100644 --- a/source/blender/python/mathutils/mathutils_geometry.h +++ b/source/blender/python/mathutils/mathutils_geometry.h @@ -1,5 +1,4 @@ -/* - * +/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -26,15 +25,13 @@ * ***** END GPL LICENSE BLOCK ***** */ +#ifndef __MATHUTILS_GEOMETRY_H__ +#define __MATHUTILS_GEOMETRY_H__ + /** \file blender/python/mathutils/mathutils_geometry.h * \ingroup pymathutils */ -/*Include this file for access to vector, quat, matrix, euler, etc...*/ - -#ifndef __MATHUTILS_GEOMETRY_H__ -#define __MATHUTILS_GEOMETRY_H__ - #include "mathutils.h" PyMODINIT_FUNC PyInit_mathutils_geometry(void); -- cgit v1.2.3