Blender V4.3
python_compat.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10#pragma once
11
12/* Add `intialized` member for Python 3.12+. */
13#if PY_VERSION_HEX >= 0x030c0000
14# define PY_ARG_PARSER_HEAD_COMPAT() 0,
15#else
16# define PY_ARG_PARSER_HEAD_COMPAT()
17#endif