diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-07 07:57:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-07 07:57:14 +0300 |
commit | adfbf276a15346c38cc6b7652191c005b9a3ae9b (patch) | |
tree | 6f7d27e9adb8c15d3021c8276d6c577a0e5746ba /source/blender/python/gawain | |
parent | 37b457221ec77b485b6e65537ac2db7fd8107e6d (diff) |
Cleanup: style, duplicate includes
Diffstat (limited to 'source/blender/python/gawain')
-rw-r--r-- | source/blender/python/gawain/gwn_py_api.h | 6 | ||||
-rw-r--r-- | source/blender/python/gawain/gwn_py_types.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/gawain/gwn_py_api.h b/source/blender/python/gawain/gwn_py_api.h index aacb14094bc..3ef85e8ae0f 100644 --- a/source/blender/python/gawain/gwn_py_api.h +++ b/source/blender/python/gawain/gwn_py_api.h @@ -18,8 +18,8 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef __GWN_PY_API__ -#define __GWN_PY_API__ +#ifndef __GWN_PY_API_H__ +#define __GWN_PY_API_H__ /** \file blender/python/gawain/gwn_py_api.h * \ingroup pygawain @@ -27,4 +27,4 @@ PyObject *BPyInit_gawain(void); -#endif /* __GWN_PY_API__ */ +#endif /* __GWN_PY_API_H__ */ diff --git a/source/blender/python/gawain/gwn_py_types.c b/source/blender/python/gawain/gwn_py_types.c index ef032a6e935..cc448d9ed90 100644 --- a/source/blender/python/gawain/gwn_py_types.c +++ b/source/blender/python/gawain/gwn_py_types.c @@ -647,7 +647,7 @@ static PyObject *bpygwn_VertBatch_uniform_f32(BPyGwn_Batch *self, PyObject *args return NULL; } - switch(PyTuple_GET_SIZE(args)) { + switch (PyTuple_GET_SIZE(args)) { case 2: GWN_batch_uniform_1f(self->batch, params.id, params.values[0]); break; case 3: GWN_batch_uniform_2fv(self->batch, params.id, params.values); break; case 4: GWN_batch_uniform_3fv(self->batch, params.id, params.values); break; |