Skip to content

Commit

Permalink
Library annotation supports arrays, not tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Mar 9, 2022
1 parent eef591e commit 5cf5341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/functions.tex
Expand Up @@ -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.
Expand Down

0 comments on commit 5cf5341

Please sign in to comment.