summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-14 12:02:31 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-15 08:27:55 +0100
commit49bd87996fa1c1068ec1703b0e0b544e74741a74 (patch)
treeb0e1652aef227da9539682116c193be2ad5e0721
parentitems: Add Item parent_link() and child_link() (diff)
downloadrtems-central-49bd87996fa1c1068ec1703b0e0b544e74741a74.tar.bz2
spec: Add stringification of argument lists
-rw-r--r--spec/rtems/basedefs/if/string.yml10
-rw-r--r--spec/rtems/basedefs/if/xstring.yml10
2 files changed, 10 insertions, 10 deletions
diff --git a/spec/rtems/basedefs/if/string.yml b/spec/rtems/basedefs/if/string.yml
index 32e1cb49..925fb8bf 100644
--- a/spec/rtems/basedefs/if/string.yml
+++ b/spec/rtems/basedefs/if/string.yml
@@ -1,10 +1,10 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
- Stringifies _x without expanding.
+ Stringifies the arguments without expanding them.
copyrights:
- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
definition:
- default: '#${.:/params[0]/name}'
+ default: '#__VA_ARGS__'
variants: []
description: null
enabled-by: true
@@ -19,11 +19,11 @@ name: RTEMS_STRING
notes: null
params:
- description: |
- is the token to stringify.
+ are the arguments to stringify.
dir: null
- name: _x
+ name: ...
return:
return: |
- Returns the stringification of the token _x.
+ Returns the stringification of the arguments.
return-values: []
type: interface
diff --git a/spec/rtems/basedefs/if/xstring.yml b/spec/rtems/basedefs/if/xstring.yml
index 0218a29f..8dc7bcc2 100644
--- a/spec/rtems/basedefs/if/xstring.yml
+++ b/spec/rtems/basedefs/if/xstring.yml
@@ -1,10 +1,10 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
- Stringifies the expansion of _x.
+ Stringifies the expansion of the arguments.
copyrights:
- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
definition:
- default: ${string:/name}( ${.:/params[0]/name} )
+ default: ${string:/name}( __VA_ARGS__ )
variants: []
description: null
enabled-by: true
@@ -19,11 +19,11 @@ name: RTEMS_XSTRING
notes: null
params:
- description: |
- is the token expand and stringify.
+ are the arguments to expand and stringify.
dir: null
- name: _x
+ name: ...
return:
return: |
- Returns the stringification of the expansion of token _x.
+ Returns the stringification of the expansion of the arguments.
return-values: []
type: interface