eng: Simplify interface return specification

Update #3715.
This commit is contained in:
Sebastian Huber 2021-09-10 16:25:59 +02:00
parent 081ec5d5e9
commit 7b2b1b4827

View File

@ -4297,16 +4297,21 @@ This type is used by the following types:
Interface Return Directive
^^^^^^^^^^^^^^^^^^^^^^^^^^
This set of attributes specifies an interface return. All explicit attributes
shall be specified. The explicit attributes for this type are:
A value of this type shall be of one of the following variants:
return
The attribute value shall be an optional string. It shall describe the
interface return for unspecified return values.
* The value may be a set of attributes. This set of attributes specifies an
interface return. All explicit attributes shall be specified. The explicit
attributes for this type are:
return-values
The attribute value shall be a list. Each list element shall be an
:ref:`SpecTypeInterfaceReturnValue`.
return
The attribute value shall be an optional string. It shall describe the
interface return for unspecified return values.
return-values
The attribute value shall be a list. Each list element shall be an
:ref:`SpecTypeInterfaceReturnValue`.
* There may by be no value (null).
This type is used by the following types: