From d69522a1af84de46e4c77631819923339dd353a2 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Tue, 11 Mar 2025 17:12:11 +0000 Subject: [PATCH] core, doc: Add NS_DEPRECATED_3_45 macro --- doc/doxygen.conf | 2 ++ src/core/model/deprecated.h | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/doc/doxygen.conf b/doc/doxygen.conf index 8659554a4..b00351b28 100644 --- a/doc/doxygen.conf +++ b/doc/doxygen.conf @@ -2299,6 +2299,8 @@ EXPAND_AS_DEFINED = ATTRIBUTE_ACCESSOR_DEFINE \ ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME \ NS_UNUSED_GLOBAL \ NS_DEPRECATED \ + NS_DEPRECATED_3_45 \ + NS_DEPRECATED_3_44 \ NS_DEPRECATED_3_43 \ NS_DEPRECATED_3_42 \ NS_DEPRECATED_3_41 \ diff --git a/src/core/model/deprecated.h b/src/core/model/deprecated.h index 93baa5388..ff88de204 100644 --- a/src/core/model/deprecated.h +++ b/src/core/model/deprecated.h @@ -83,6 +83,13 @@ */ #define NS_DEPRECATED(msg) /** \deprecated msg */ [[deprecated(msg)]] +/** + * @ingroup deprecation + * @def NS_DEPRECATED_3_45 + * Tag for things deprecated in version ns-3.45. + */ +#define NS_DEPRECATED_3_45(msg) NS_DEPRECATED("Deprecated in ns-3.45: " msg) + /** * @ingroup deprecation * @def NS_DEPRECATED_3_44