Cleanup: trailing space for freestyle
This commit is contained in:
@@ -161,15 +161,15 @@ static int UnaryFunction1DDouble___init__(BPy_UnaryFunction1DDouble *self, PyObj
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj)
|
||||
self->uf1D_double = new UnaryFunction1D<double>();
|
||||
else {
|
||||
self->uf1D_double = new UnaryFunction1D<double>(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_double->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,15 +83,15 @@ static int UnaryFunction1DEdgeNature___init__(BPy_UnaryFunction1DEdgeNature *sel
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj)
|
||||
self->uf1D_edgenature = new UnaryFunction1D<Nature::EdgeNature>();
|
||||
else {
|
||||
self->uf1D_edgenature = new UnaryFunction1D<Nature::EdgeNature>(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_edgenature->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -76,15 +76,15 @@ static int UnaryFunction1DFloat___init__(BPy_UnaryFunction1DFloat *self, PyObjec
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj)
|
||||
self->uf1D_float = new UnaryFunction1D<float>();
|
||||
else {
|
||||
self->uf1D_float = new UnaryFunction1D<float>(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_float->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,15 +83,15 @@ static int UnaryFunction1DUnsigned___init__(BPy_UnaryFunction1DUnsigned *self, P
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj)
|
||||
self->uf1D_unsigned = new UnaryFunction1D<unsigned int>();
|
||||
else {
|
||||
self->uf1D_unsigned = new UnaryFunction1D<unsigned int>(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_unsigned->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -89,15 +89,15 @@ static int UnaryFunction1DVec2f___init__(BPy_UnaryFunction1DVec2f *self, PyObjec
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj)
|
||||
self->uf1D_vec2f = new UnaryFunction1D<Vec2f>();
|
||||
else {
|
||||
self->uf1D_vec2f = new UnaryFunction1D<Vec2f>(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_vec2f->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,15 +83,15 @@ static int UnaryFunction1DVec3f___init__(BPy_UnaryFunction1DVec3f *self, PyObjec
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj)
|
||||
self->uf1D_vec3f = new UnaryFunction1D<Vec3f>();
|
||||
else {
|
||||
self->uf1D_vec3f = new UnaryFunction1D<Vec3f>(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_vec3f->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -97,16 +97,16 @@ static int UnaryFunction1DVectorViewShape___init__(BPy_UnaryFunction1DVectorView
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj) {
|
||||
self->uf1D_vectorviewshape = new UnaryFunction1D< std::vector<ViewShape*> >();
|
||||
}
|
||||
else {
|
||||
self->uf1D_vectorviewshape = new UnaryFunction1D< std::vector<ViewShape*> >(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_vectorviewshape->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ static PyObject *UnaryFunction1DVectorViewShape___call__(BPy_UnaryFunction1DVect
|
||||
ViewShape *v = self->uf1D_vectorviewshape->result[i];
|
||||
PyList_SET_ITEM(list, i, v ? BPy_ViewShape_from_ViewShape(*v) : (Py_INCREF(Py_None), Py_None));
|
||||
}
|
||||
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
@@ -96,15 +96,15 @@ static int UnaryFunction1DVoid___init__(BPy_UnaryFunction1DVoid *self, PyObject
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O!", (char **)kwlist, &IntegrationType_Type, &obj))
|
||||
return -1;
|
||||
|
||||
|
||||
if (!obj)
|
||||
self->uf1D_void = new UnaryFunction1D_void();
|
||||
else {
|
||||
self->uf1D_void = new UnaryFunction1D_void(IntegrationType_from_BPy_IntegrationType(obj));
|
||||
}
|
||||
|
||||
|
||||
self->uf1D_void->py_uf1D = (PyObject *)self;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user