eng: Make interface definitions optional

Update #3715.
This commit is contained in:
Sebastian Huber 2021-09-10 16:21:25 +02:00
parent 9dd61353f6
commit 60e08fd84f

View File

@ -3797,9 +3797,11 @@ definition
Interface Compound Member Definition Interface Compound Member Definition
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This set of attributes specifies an interface compound member definition. All A value of this type shall be of one of the following variants:
explicit attributes shall be specified. The explicit attributes for this type
are: * The value may be a set of attributes. This set of attributes specifies an
interface compound member definition. All explicit attributes shall be
specified. The explicit attributes for this type are:
brief brief
The attribute value shall be an :ref:`SpecTypeInterfaceBriefDescription`. The attribute value shall be an :ref:`SpecTypeInterfaceBriefDescription`.
@ -3815,6 +3817,8 @@ name
The attribute value shall be a string. It shall be the interface compound The attribute value shall be a string. It shall be the interface compound
member name. member name.
* There may by be no value (null).
This type is refined by the following types: This type is refined by the following types:
* :ref:`SpecTypeInterfaceCompoundMemberCompound` * :ref:`SpecTypeInterfaceCompoundMemberCompound`
@ -4070,15 +4074,18 @@ links.
Interface Function Definition Interface Function Definition
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This set of attributes specifies a function definition. All explicit attributes A value of this type shall be of one of the following variants:
shall be specified. The explicit attributes for this type are:
* The value may be a set of attributes. This set of attributes specifies a
function definition. All explicit attributes shall be specified. The explicit
attributes for this type are:
attributes attributes
The attribute value shall be an optional string. If the value is present, The attribute value shall be an optional string. If the value is present,
then it shall be the function attributes. On the attributes a then it shall be the function attributes. On the attributes a
context-sensitive substitution of item variables is performed. A function context-sensitive substitution of item variables is performed. A
attribute is for example the indication that the function does not return function attribute is for example the indication that the function does
to the caller. not return to the caller.
body body
The attribute value shall be an optional string. If the value is present, The attribute value shall be an optional string. If the value is present,
@ -4098,6 +4105,8 @@ return
type. On the return type a context-sensitive substitution of item type. On the return type a context-sensitive substitution of item
variables is performed. variables is performed.
* There may by be no value (null).
This type is used by the following types: This type is used by the following types:
* :ref:`SpecTypeInterfaceFunctionDefinitionDirective` * :ref:`SpecTypeInterfaceFunctionDefinitionDirective`