core, doc: Add NS_DEPRECATED_3_45 macro

This commit is contained in:
Eduardo Almeida
2025-03-11 17:12:11 +00:00
parent 5eab53b0a6
commit d69522a1af
2 changed files with 9 additions and 0 deletions

View File

@@ -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 \

View File

@@ -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