bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)

This commit is contained in:
Serhiy Storchaka 2017-12-15 13:11:11 +02:00 committed by GitHub
parent 3325a6780c
commit a5552f023e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 669 additions and 662 deletions

View file

@ -61,13 +61,13 @@ PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *);
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict(
PyObject *func,
PyObject **args,
PyObject *const *args,
Py_ssize_t nargs,
PyObject *kwargs);
PyAPI_FUNC(PyObject *) _PyFunction_FastCallKeywords(
PyObject *func,
PyObject **stack,
PyObject *const *stack,
Py_ssize_t nargs,
PyObject *kwnames);
#endif