]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35059: Add _PyObject_CAST() macro (GH-10645)
authorVictor Stinner <vstinner@redhat.com>
Thu, 22 Nov 2018 01:57:29 +0000 (02:57 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Nov 2018 01:57:29 +0000 (02:57 +0100)
commit2ff8fb7639a86757c00a7cbbe7da418fffec3870
tree05ca8342faadc9cb406fc1b0c7ac6ae44543eec8
parent271753a27aca2e13275f0827080b915fb438107a
bpo-35059: Add _PyObject_CAST() macro (GH-10645)

Add _PyObject_CAST() and _PyVarObject_CAST() macros to cast argument
to PyObject* and PyVarObject* properly.
Include/internal/pycore_object.h
Include/object.h
Include/objimpl.h
Include/odictobject.h
Include/unicodeobject.h