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

Gedare Bloom gedare at rtems.org
Tue Mar 9 15:20:31 UTC 2021


ok

On Tue, Mar 9, 2021 at 5:04 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list