Skip to content
Snippets Groups Projects
Commit a6c1cba3 authored by Jean Fechter's avatar Jean Fechter
Browse files

Add VTK_DEPRECATED_IN_9_5_0 macro

parent 91c9c18d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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="
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment