Skip to content

Commit

Permalink
State that external object class is a class. (modelica#2760)
Browse files Browse the repository at this point in the history
* State that external object class is a class.
Closes modelica#2705
  • Loading branch information
HansOlsson committed Dec 17, 2020
1 parent fcf57a9 commit 23e1c57
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,11 @@ \subsection{External Objects}\label{external-objects}
and after the function call). Normally this is an external function, but it could be a non-external function as well (e.g.\ calling external functions one
or more times). The function input shall not have a default value using the constructor.
\end{nonnormative}
\item
An external object class shall be of the specialized class \lstinline!class!.
\begin{nonnormative}
This is the only use of \lstinline!class!.
\end{nonnormative}
\item
Classes derived from \lstinline!ExternalObject! can neither be used in an
extends-clause nor in a short class definition.
Expand Down

0 comments on commit 23e1c57

Please sign in to comment.