diff options
Diffstat (limited to 'source/blender/python/gpu/gpu_py_element.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_element.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_element.c b/source/blender/python/gpu/gpu_py_element.c index af993539f18..f2836576659 100644 --- a/source/blender/python/gpu/gpu_py_element.c +++ b/source/blender/python/gpu/gpu_py_element.c @@ -40,7 +40,13 @@ static PyObject *pygpu_IndexBuf__tp_new(PyTypeObject *UNUSED(type), PyObject *ar GPUIndexBufBuilder builder; static const char *_keywords[] = {"type", "seq", NULL}; - static _PyArg_Parser _parser = {"$O&O:IndexBuf.__new__", _keywords, 0}; + static _PyArg_Parser _parser = { + "$O" /* `type` */ + "&O" /* `seq` */ + ":IndexBuf.__new__", + _keywords, + 0, + }; if (!_PyArg_ParseTupleAndKeywordsFast( args, kwds, &_parser, PyC_ParseStringEnum, &prim_type, &seq)) { return NULL; |