Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Apr 21, 2022
1 parent d603794 commit 35ee8ed
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2215,17 +2215,16 @@ \subsubsection{Arrays}\label{arrays-1}

\subsubsection{Records}\label{records}

Mapping of record types is only supported for C. A Modelica record class
that contains simple types, other record elements, is mapped as follows:
Mapping of record types is only supported for C.
A Modelica record class is mapped as follows:
\begin{itemize}
\item
The record class is represented by a struct in C.
\item
Each element of the Modelica record is mapped to its corresponding C representation.
A nested record element is mapped to a nested struct component.
Each component of the Modelica record is mapped to its corresponding C representation.
A nested record component is mapped to a nested struct component.
\item
The elements of the Modelica record class are declared in the same
order in the C struct.
The components of the Modelica record class are declared in the same order in the C struct.
\item
Arrays cannot be mapped.
\end{itemize}
Expand Down

0 comments on commit 35ee8ed

Please sign in to comment.