Cleanup: use nullptr instead of zero

This commit is contained in:
Campbell Barton
2023-08-03 19:14:53 +10:00
parent c6f3f19648
commit de391cf811
86 changed files with 365 additions and 267 deletions

View File

@@ -70,7 +70,7 @@ static PyObject *pygpu_uniformbuffer__tp_new(PyTypeObject * /*self*/,
"O" /* `data` */
":GPUUniformBuf.__new__",
_keywords,
0,
nullptr,
};
if (!_PyArg_ParseTupleAndKeywordsFast(args, kwds, &_parser, &pybuffer_obj)) {
return nullptr;