Blender Git Loki

Git Commits -> Revision cd9acfe

Revision cd9acfe by Campbell Barton (master)
November 10, 2020, 22:11 (GMT)
Cleanup: use preprocessor version check for PyTypeObject declaration

While `tp_print` was deprecated, Python 3.8+ uses this for
'tp_vectorcall_offset' which wasn't stated in the comment from
efd71aad4f22ec0073d80b8dd296015d3f395aa8.

Instead of suppressing clang-tidy, use preprocessor a check since
this properly represents the difference between Python versions.

Commit Details:

Full Hash: cd9acfed4f7674b84be965d469a367aef96f8af3
Parent Commit: 86bdd2a
Lines Changed: +825, -463

156 Modified Paths:

/source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_FalseBP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_Length2DBP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_SameShapeIdBP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_TrueBP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate1D/BPy_ViewMapGradientNormBP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_BBox.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_Id.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_IntegrationType.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_Interface0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_Interface1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_Iterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_MediumType.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_Nature.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_Operators.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_SShape.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryFunction1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_ViewMap.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_ViewShape.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ChainPredicateIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ChainSilhouetteIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_BackboneStretcherShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_BezierCurveShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_BlenderTextureShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_CalligraphicShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorNoiseShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstrainedIncreasingThicknessShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_GuidingLinesShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingThicknessShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_SamplingShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_SmoothingShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_SpatialNoiseShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_ThicknessNoiseShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/StrokeShader/BPy_TipRemoverShader.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_Curvature2DAngleF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_DensityF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_GetProjectedXF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_GetProjectedYF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_GetProjectedZF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_GetXF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_GetYF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_GetZF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_LocalAverageDepthF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_double/BPy_ZDiscontinuityF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetCurvilinearAbscissaF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetParameterF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetViewMapGradientNormF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadCompleteViewMapPixelF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadMapPixelF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadSteerableViewMapPixelF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Id/BPy_ShapeIdF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Material/BPy_MaterialF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Nature_EdgeNature/BPy_CurveNatureF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_unsigned_int/BPy_QuantitativeInvisibilityF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_Normal2DF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_VertexOrientation2DF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec3f/BPy_VertexOrientation3DF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_vector_ViewShape/BPy_GetOccludersF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/BPy_GetOccludeeF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/BPy_GetShapeF0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_Curvature2DAngleF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_DensityF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetCompleteViewMapDensityF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedXF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedYF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedZF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetSteerableViewMapDensityF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetViewMapGradientNormF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetXF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetYF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetZF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_LocalAverageDepthF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_ZDiscontinuityF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Nature_EdgeNature/BPy_CurveNatureF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_unsigned_int/BPy_QuantitativeInvisibilityF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec2f/BPy_Normal2DF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec2f/BPy_Orientation2DF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_Vec3f/BPy_Orientation3DF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/BPy_GetOccludeeF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/BPy_GetOccludersF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_vector_ViewShape/BPy_GetShapeF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/BPy_ChainingTimeStampF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/BPy_IncrementChainingTimeStampF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_void/BPy_TimeStampF1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_FalseUP0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate0D/BPy_TrueUP0D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_DensityLowerThanUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToChainingTimeStampUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToTimeStampUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_FalseUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_QuantitativeInvisibilityUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ShapeUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_TrueUP1D.cpp (+5, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_WithinImageBoundaryUP1D.cpp (+5, -3) (Diff)
/source/blender/python/bmesh/bmesh_py_ops.c (+5, -1) (Diff)
/source/blender/python/generic/idprop_py_api.c (+15, -3) (Diff)
/source/blender/python/generic/imbuf_py_api.c (+5, -1) (Diff)
/source/blender/python/intern/bpy_app_translations.c (+5, -1) (Diff)
/source/blender/python/intern/bpy_library_load.c (+5, -1) (Diff)
/source/blender/python/intern/bpy_rna.c (+40, -8) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021