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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/python/mathutils/mathutils_Color.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Color.h')
-rw-r--r--source/blender/python/mathutils/mathutils_Color.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/source/blender/python/mathutils/mathutils_Color.h b/source/blender/python/mathutils/mathutils_Color.h
index 6dc56f8aacb..51e1746ae74 100644
--- a/source/blender/python/mathutils/mathutils_Color.h
+++ b/source/blender/python/mathutils/mathutils_Color.h
@@ -18,7 +18,6 @@
* \ingroup pymathutils
*/
-
#ifndef __MATHUTILS_COLOR_H__
#define __MATHUTILS_COLOR_H__
@@ -27,7 +26,7 @@ extern PyTypeObject color_Type;
#define ColorObject_CheckExact(v) (Py_TYPE(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
@@ -36,17 +35,12 @@ typedef struct {
* blender (stored in blend_data). This is an either/or struct not both*/
/* prototypes */
-PyObject *Color_CreatePyObject(
- const float col[3],
- PyTypeObject *base_type
- ) ATTR_WARN_UNUSED_RESULT;
-PyObject *Color_CreatePyObject_wrap(
- float col[3],
- PyTypeObject *base_type
- ) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1);
-PyObject *Color_CreatePyObject_cb(
- PyObject *cb_user,
- unsigned char cb_type, unsigned char cb_subtype
- ) ATTR_WARN_UNUSED_RESULT;
+PyObject *Color_CreatePyObject(const float col[3],
+ PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT;
+PyObject *Color_CreatePyObject_wrap(float col[3], PyTypeObject *base_type) ATTR_WARN_UNUSED_RESULT
+ ATTR_NONNULL(1);
+PyObject *Color_CreatePyObject_cb(PyObject *cb_user,
+ unsigned char cb_type,
+ unsigned char cb_subtype) ATTR_WARN_UNUSED_RESULT;
#endif /* __MATHUTILS_COLOR_H__ */