aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/sbkstring.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-25 09:33:27 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-25 10:43:56 +0200
commitddfbbd346b522703a5b6f8d274a7f79983e5f319 (patch)
tree6ebd312287a1398b4b619b37045370cbeb83e1d1 /sources/shiboken2/libshiboken/sbkstring.h
parent2eced73f6b8dd9f568e84e78f786a0ec8d6dd429 (diff)
shiboken: Introduce nullptr
Apply Fixits by Qt Creator with some amendments. Change-Id: Ie8300ddb834adb8b649324562f2c912a4e8cf4ce Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/libshiboken/sbkstring.h')
-rw-r--r--sources/shiboken2/libshiboken/sbkstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/libshiboken/sbkstring.h b/sources/shiboken2/libshiboken/sbkstring.h
index ec674ee7b..7f434e1b9 100644
--- a/sources/shiboken2/libshiboken/sbkstring.h
+++ b/sources/shiboken2/libshiboken/sbkstring.h
@@ -59,7 +59,7 @@ namespace String
LIBSHIBOKEN_API bool isConvertible(PyObject *obj);
LIBSHIBOKEN_API PyObject *fromCString(const char *value);
LIBSHIBOKEN_API PyObject *fromCString(const char *value, int len);
- LIBSHIBOKEN_API const char *toCString(PyObject *str, Py_ssize_t *len = 0);
+ LIBSHIBOKEN_API const char *toCString(PyObject *str, Py_ssize_t *len = nullptr);
LIBSHIBOKEN_API bool concat(PyObject **val1, PyObject *val2);
LIBSHIBOKEN_API PyObject *fromFormat(const char *format, ...);
LIBSHIBOKEN_API PyObject *fromStringAndSize(const char *str, Py_ssize_t size);