|
Blender V5.3
|
header-only compatibility defines. More...
#include <Python.h>Go to the source code of this file.
Macros | |
| #define | Py_HashPointer _Py_HashPointer |
| #define | PyThreadState_GetUnchecked _PyThreadState_UncheckedGet |
Functions | |
| int | _PyArg_CheckPositional (const char *name, Py_ssize_t nargs, Py_ssize_t min, Py_ssize_t max) |
header-only compatibility defines.
Definition in file python_compat.hh.
| #define Py_HashPointer _Py_HashPointer |
Definition at line 22 of file python_compat.hh.
Referenced by blender::BPY_app_alembic_struct(), blender::BPY_app_build_options_struct(), blender::BPY_app_ffmpeg_struct(), blender::BPY_app_handlers_struct(), blender::BPY_app_ocio_struct(), blender::BPY_app_oiio_struct(), blender::BPY_app_opensubdiv_struct(), blender::BPY_app_openvdb_struct(), blender::BPY_app_sdl_struct(), blender::BPY_app_struct(), blender::BPY_app_translations_struct(), blender::BPY_app_usd_struct(), blender::bpy_bm_elem_hash(), blender::bpy_bm_hash(), blender::BPy_IDGroup_hash(), blender::BPy_IDPropertyUIManager_hash(), blender::py_imbuf_hash(), blender::pyrna_prop_hash(), and blender::pyrna_struct_hash().
| #define PyThreadState_GetUnchecked _PyThreadState_UncheckedGet |
Definition at line 23 of file python_compat.hh.
Referenced by blender::BPY_python_backtrace(), and blender::BPY_thread_save().
| int _PyArg_CheckPositional | ( | const char * | name, |
| Py_ssize_t | nargs, | ||
| Py_ssize_t | min, | ||
| Py_ssize_t | max ) |
Removed in Python 3.13.
Definition at line 16 of file python_compat.cc.
References _PyArg_CheckPositional(), BLI_assert, max, and min.
Referenced by _PyArg_CheckPositional(), blender::M_Geometry_intersect_point_line(), and blender::M_Geometry_intersect_point_line_segment().