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>2013-08-07 07:44:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-07 07:44:05 +0400
commit4f29aeeff2cfe1dbe0a12910932c48ee453a6de1 (patch)
tree90c7eb236f0610b8d172255581fd4ffd791d07e9 /source/blender/python/bmesh/bmesh_py_ops.c
parentf97a4bd25458fdc8da1a97f7b68a305c8ab35ff4 (diff)
code cleanup: some structs were declaring data when only typedef's were intended, make local vars and functions static.
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_ops.c')
-rw-r--r--source/blender/python/bmesh/bmesh_py_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_ops.c b/source/blender/python/bmesh/bmesh_py_ops.c
index 8826baf81b7..4fc0160bbd6 100644
--- a/source/blender/python/bmesh/bmesh_py_ops.c
+++ b/source/blender/python/bmesh/bmesh_py_ops.c
@@ -50,7 +50,7 @@
/* bmesh operator 'bmesh.ops.*' callable types
* ******************************************* */
-PyTypeObject bmesh_op_Type;
+static PyTypeObject bmesh_op_Type;
static PyObject *bpy_bmesh_op_CreatePyObject(const char *opname)
{
@@ -140,7 +140,7 @@ static PyGetSetDef bpy_bmesh_op_getseters[] = {
/* Types
* ===== */
-PyTypeObject bmesh_op_Type = {
+static PyTypeObject bmesh_op_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
"BMeshOpFunc", /* tp_name */
sizeof(BPy_BMeshOpFunc), /* tp_basicsize */