aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/pep384impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/libshiboken/pep384impl.cpp')
-rw-r--r--sources/shiboken2/libshiboken/pep384impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken2/libshiboken/pep384impl.cpp b/sources/shiboken2/libshiboken/pep384impl.cpp
index ac0328b6b..8a2930fc8 100644
--- a/sources/shiboken2/libshiboken/pep384impl.cpp
+++ b/sources/shiboken2/libshiboken/pep384impl.cpp
@@ -74,11 +74,11 @@ dummy_func(PyObject *self, PyObject *args)
static struct PyMethodDef probe_methoddef[] = {
{"dummy", dummy_func, METH_NOARGS},
- {0}
+ {nullptr}
};
static PyGetSetDef probe_getseters[] = {
- {0} /* Sentinel */
+ {nullptr} /* Sentinel */
};
#define probe_tp_call make_dummy(1)
@@ -110,7 +110,7 @@ static PyType_Slot typeprobe_slots[] = {
{Py_tp_new, probe_tp_new},
{Py_tp_free, probe_tp_free},
{Py_tp_is_gc, probe_tp_is_gc},
- {0, 0}
+ {0, nullptr}
};
static PyType_Spec typeprobe_spec = {
probe_tp_name,