diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp index fd80304e8ef..c191c691686 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp @@ -104,7 +104,7 @@ static char UnaryFunction0DFloat___doc__[] = "\n" " Default constructor.\n"; -static int UnaryFunction0DFloat___init__(BPy_UnaryFunction0DFloat* self, PyObject *args, PyObject *kwds) +static int UnaryFunction0DFloat___init__(BPy_UnaryFunction0DFloat *self, PyObject *args, PyObject *kwds) { static const char *kwlist[] = {NULL}; @@ -115,19 +115,19 @@ static int UnaryFunction0DFloat___init__(BPy_UnaryFunction0DFloat* self, PyObjec return 0; } -static void UnaryFunction0DFloat___dealloc__(BPy_UnaryFunction0DFloat* self) +static void UnaryFunction0DFloat___dealloc__(BPy_UnaryFunction0DFloat *self) { if (self->uf0D_float) delete self->uf0D_float; - UnaryFunction0D_Type.tp_dealloc((PyObject*)self); + UnaryFunction0D_Type.tp_dealloc((PyObject *)self); } -static PyObject * UnaryFunction0DFloat___repr__(BPy_UnaryFunction0DFloat* self) +static PyObject *UnaryFunction0DFloat___repr__(BPy_UnaryFunction0DFloat *self) { return PyUnicode_FromFormat("type: %s - address: %p", Py_TYPE(self)->tp_name, self->uf0D_float); } -static PyObject * UnaryFunction0DFloat___call__(BPy_UnaryFunction0DFloat *self, PyObject *args, PyObject *kwds) +static PyObject *UnaryFunction0DFloat___call__(BPy_UnaryFunction0DFloat *self, PyObject *args, PyObject *kwds) { static const char *kwlist[] = {"it", NULL}; PyObject *obj; |