From 5cf534158cf5c747271e3eb2fe8819b10eeb9df5 Mon Sep 17 00:00:00 2001 From: Adrian Pop Date: Wed, 9 Mar 2022 12:30:36 +0100 Subject: [PATCH] Library annotation supports arrays, not tuples --- chapters/functions.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/functions.tex b/chapters/functions.tex index 4977ee9b2..ea067f2b4 100644 --- a/chapters/functions.tex +++ b/chapters/functions.tex @@ -2367,7 +2367,7 @@ \subsection{Annotations for External Functions}\label{annotations-for-external-l \item The \lstinline!annotation(Library="libraryName")!\annotationindex{Library}, used by the linker to include the library file where the compiled external function is available. \item - The \lstinline!annotation(Library=("libraryName1", "libraryName2"))!, used by the linker to include the library files where the compiled external function is available and additional libraries used to implement it. + The \lstinline!annotation(Library={"libraryName1", "libraryName2"})!, used by the linker to include the library files where the compiled external function is available and additional libraries used to implement it. For shared libraries it is recommended to include all non-system libraries in this list. \item The \lstinline!annotation(Include="includeDirective")!\annotationindex{Include}, used to include source files needed for calling the external function in the code generated by the Modelica compiler.