summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_callable.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:02 +0200
commit5782f69c0cc2df713c83620e9fc77cb4e12ff474 (patch)
tree7860fb671c3a3fb5a2a00289db62207161df08e3 /pyuno/source/module/pyuno_callable.cxx
parent430d760acd1694ff572adfe2e60f613d4e94d7a2 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Iffa346c16a6775b206c8f8613eee9e7201e3badb
Diffstat (limited to 'pyuno/source/module/pyuno_callable.cxx')
-rw-r--r--pyuno/source/module/pyuno_callable.cxx46
1 files changed, 23 insertions, 23 deletions
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx
index 075e0615876b..6a96369d1382 100644
--- a/pyuno/source/module/pyuno_callable.cxx
+++ b/pyuno/source/module/pyuno_callable.cxx
@@ -187,48 +187,48 @@ static PyTypeObject PyUNO_callable_Type =
"PyUNO_callable",
sizeof (PyUNO_callable),
0,
- (destructor) ::pyuno::PyUNO_callable_del,
- (printfunc) 0,
- (getattrfunc) 0,
- (setattrfunc) 0,
+ ::pyuno::PyUNO_callable_del,
+ nullptr,
+ nullptr,
+ nullptr,
0,
- (reprfunc) 0,
+ nullptr,
0,
0,
0,
- (hashfunc) 0,
- (ternaryfunc) ::pyuno::PyUNO_callable_call,
- (reprfunc) 0,
- (getattrofunc)0,
- (setattrofunc)0,
+ nullptr,
+ ::pyuno::PyUNO_callable_call,
+ nullptr,
+ nullptr,
+ nullptr,
NULL,
0,
NULL,
- (traverseproc)0,
- (inquiry)0,
- (richcmpfunc)0,
+ nullptr,
+ nullptr,
+ nullptr,
0,
- (getiterfunc)0,
- (iternextfunc)0,
+ nullptr,
+ nullptr,
NULL,
NULL,
NULL,
NULL,
NULL,
- (descrgetfunc)0,
- (descrsetfunc)0,
+ nullptr,
+ nullptr,
0,
- (initproc)0,
- (allocfunc)0,
- (newfunc)0,
- (freefunc)0,
- (inquiry)0,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
NULL,
NULL,
NULL,
NULL,
NULL,
- (destructor)0
+ nullptr
#if PY_VERSION_HEX >= 0x02060000
, 0
#endif