[PATCH] basedefs: Clarify RTEMS_STRING(), RTEMS_XSTRING()

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 9 12:04:24 UTC 2021


From: Frank Kühndel <frank.kuehndel at embedded-brains.de>

---
 cpukit/include/rtems/score/basedefs.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h
index c423c530b2..71dc18216e 100644
--- a/cpukit/include/rtems/score/basedefs.h
+++ b/cpukit/include/rtems/score/basedefs.h
@@ -362,7 +362,8 @@ extern "C" {
  *
  * @param ... are the arguments to stringify.
  *
- * @return Returns the stringification of the arguments.
+ * @return Returns the stringification of the arguments.  In case of several
+ *   arguments a single string is returned not several.
  */
 #define RTEMS_STRING( ... ) #__VA_ARGS__
 
@@ -936,7 +937,8 @@ extern "C" {
  *
  * @param ... are the arguments to expand and stringify.
  *
- * @return Returns the stringification of the expansion of the arguments.
+ * @return Returns the stringification of the expansion of the arguments.  In
+ *   case of several arguments a single string is returned not several.
  */
 #define RTEMS_XSTRING( ... ) RTEMS_STRING( __VA_ARGS__ )
 
-- 
2.26.2



More information about the devel mailing list