core, doc: Add NS_DEPRECATED_3_46 macro

This commit is contained in:
Eduardo Almeida
2025-06-02 15:17:12 +01:00
parent 8c4dbfc680
commit 2bd3411b0e
2 changed files with 8 additions and 0 deletions

View File

@@ -2299,6 +2299,7 @@ EXPAND_AS_DEFINED = ATTRIBUTE_ACCESSOR_DEFINE \
ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME \
NS_UNUSED_GLOBAL \
NS_DEPRECATED \
NS_DEPRECATED_3_46 \
NS_DEPRECATED_3_45 \
NS_DEPRECATED_3_44 \
NS_DEPRECATED_3_43 \

View File

@@ -83,6 +83,13 @@
*/
#define NS_DEPRECATED(msg) /** \deprecated msg */ [[deprecated(msg)]]
/**
* @ingroup deprecation
* @def NS_DEPRECATED_3_46
* Tag for things deprecated in version ns-3.46.
*/
#define NS_DEPRECATED_3_46(msg) NS_DEPRECATED("Deprecated in ns-3.46: " msg)
/**
* @ingroup deprecation
* @def NS_DEPRECATED_3_45