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:
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Vector.h')
-rw-r--r--source/blender/python/mathutils/mathutils_Vector.h40
1 files changed, 19 insertions, 21 deletions
diff --git a/source/blender/python/mathutils/mathutils_Vector.h b/source/blender/python/mathutils/mathutils_Vector.h
index 7ebc3fbf1d6..f75702bc54c 100644
--- a/source/blender/python/mathutils/mathutils_Vector.h
+++ b/source/blender/python/mathutils/mathutils_Vector.h
@@ -18,7 +18,6 @@
* \ingroup pymathutils
*/
-
#ifndef __MATHUTILS_VECTOR_H__
#define __MATHUTILS_VECTOR_H__
@@ -28,27 +27,26 @@ extern PyTypeObject vector_Type;
#define VectorObject_CheckExact(v) (Py_TYPE(v) == &vector_Type)
typedef struct {
- BASE_MATH_MEMBERS(vec);
+ BASE_MATH_MEMBERS(vec);
- int size; /* vec size 2 or more */
+ int size; /* vec size 2 or more */
} VectorObject;
/*prototypes*/
-PyObject *Vector_CreatePyObject(
- const float *vec, const int size,
- PyTypeObject *base_type
- ) ATTR_WARN_UNUSED_RESULT;
-PyObject *Vector_CreatePyObject_wrap(
- float *vec, const int size,
- PyTypeObject *base_type
- ) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1);
-PyObject *Vector_CreatePyObject_cb(
- PyObject *user, int size,
- unsigned char cb_type, unsigned char subtype
- ) ATTR_WARN_UNUSED_RESULT;
-PyObject *Vector_CreatePyObject_alloc(
- float *vec, const int size,
- PyTypeObject *base_type
- ) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1);
-
-#endif /* __MATHUTILS_VECTOR_H__ */
+PyObject *Vector_CreatePyObject(const float *vec,
+ const int size,
+ PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT;
+PyObject *Vector_CreatePyObject_wrap(float *vec,
+ const int size,
+ PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT
+ ATTR_NONNULL(1);
+PyObject *Vector_CreatePyObject_cb(PyObject *user,
+ int size,
+ unsigned char cb_type,
+ unsigned char subtype) ATTR_WARN_UNUSED_RESULT;
+PyObject *Vector_CreatePyObject_alloc(float *vec,
+ const int size,
+ PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT
+ ATTR_NONNULL(1);
+
+#endif /* __MATHUTILS_VECTOR_H__ */