From 35ee8edd0d203f1b6d6d5b540a45c21e592e9d97 Mon Sep 17 00:00:00 2001 From: OLSSON Hans Date: Thu, 21 Apr 2022 15:05:25 +0200 Subject: [PATCH] Simplify --- chapters/functions.tex | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/chapters/functions.tex b/chapters/functions.tex index d990c2ae0..2212682a0 100644 --- a/chapters/functions.tex +++ b/chapters/functions.tex @@ -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}