From 8b73eca4934e5648d85c6f61db07e199ea997473 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sun, 28 Mar 2021 17:28:56 +0200 Subject: [PATCH] Define next XBT_ATTRIB_DEPRECATED macro. --- docs/source/Doxyfile | 3 ++- include/xbt/base.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/Doxyfile b/docs/source/Doxyfile index 588e2ae1d7..a6fe764d3a 100644 --- a/docs/source/Doxyfile +++ b/docs/source/Doxyfile @@ -65,4 +65,5 @@ PREDEFINED += \ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s,c,l)= \ XBT_ATTRIB_DEPRECATED_v329(m)= \ XBT_ATTRIB_DEPRECATED_v330(m)= \ - XBT_ATTRIB_DEPRECATED_v331(m)= + XBT_ATTRIB_DEPRECATED_v331(m)= \ + XBT_ATTRIB_DEPRECATED_v332(m)= diff --git a/include/xbt/base.h b/include/xbt/base.h index dec1d63bf7..88deb0f494 100644 --- a/include/xbt/base.h +++ b/include/xbt/base.h @@ -59,6 +59,8 @@ XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped after v3.29)") #define XBT_ATTRIB_DEPRECATED_v331(mesg) \ XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped after v3.30)") +#define XBT_ATTRIB_DEPRECATED_v332(mesg) \ + XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped after v3.31)") #if !defined(__APPLE__) # define XBT_ATTRIB_CONSTRUCTOR(prio) __attribute__((__constructor__(prio))) -- 2.20.1