diff --git a/Common/Core/vtkDeprecation.h b/Common/Core/vtkDeprecation.h index ac6b438c98cb0c1c75045eda491424f7770b0e37..df3c75e9ff1a4908f1c50fbb381ecbeafb0887e8 100644 --- a/Common/Core/vtkDeprecation.h +++ b/Common/Core/vtkDeprecation.h @@ -102,6 +102,15 @@ // APIs deprecated in the next release. #if defined(__VTK_WRAP__) +#define VTK_DEPRECATED_IN_9_5_0(reason) [[vtk::deprecated(reason, "9.5.0")]] +#elif VTK_DEPRECATION_LEVEL >= VTK_VERSION_CHECK(9, 4, 20241008) +#define VTK_DEPRECATED_IN_9_5_0(reason) VTK_DEPRECATION(reason) +#else +#define VTK_DEPRECATED_IN_9_5_0(reason) +#endif + +// APIs deprecated in 9.4.0. +#if defined(__VTK_WRAP__) #define VTK_DEPRECATED_IN_9_4_0(reason) [[vtk::deprecated(reason, "9.4.0")]] #elif VTK_DEPRECATION_LEVEL >= VTK_VERSION_CHECK(9, 3, 20230807) #define VTK_DEPRECATED_IN_9_4_0(reason) VTK_DEPRECATION(reason) diff --git a/Utilities/Doxygen/doxyfile.in b/Utilities/Doxygen/doxyfile.in index aa576391b18a45a65177f3c32e2112b2114d45e2..b7bd0db1850812148c88f88fa2374aa07530938d 100644 --- a/Utilities/Doxygen/doxyfile.in +++ b/Utilities/Doxygen/doxyfile.in @@ -210,6 +210,7 @@ PREDEFINED = "vtkSetMacro(name,type)= \ "VTK_DEPRECATED_IN_9_2_0(msg)=" \ "VTK_DEPRECATED_IN_9_3_0(msg)=" \ "VTK_DEPRECATED_IN_9_4_0(msg)=" \ + "VTK_DEPRECATED_IN_9_5_0(msg)=" \ "DOXYGEN_SHOULD_SKIP_THIS" \ "VTK_ABI_NAMESPACE_BEGIN=" \ "VTK_ABI_NAMESPACE_END="