summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Kühndel <frank.kuehndel@embedded-brains.de>2021-03-09 13:01:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-09 13:03:15 +0100
commit14bb077059fb64c88553a6f1958a21f375fe83b4 (patch)
tree4caeab6d5c3036ba73efc7b96838638b35e709ae
parentba48f20e2ae9cfccd5e38860a4d354553f29c1a2 (diff)
basedefs: Clarify RTEMS_STRING(), RTEMS_XSTRING()
-rw-r--r--cpukit/include/rtems/score/basedefs.h6
1 files 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__ )