From ed1dc14d913f3b0511cf160dd8ce7b476e3c8589 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Tue, 10 Nov 2020 15:48:45 +0100 Subject: [PATCH] Fix missing \lstinline of 'Library' (annotation) --- chapters/functions.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chapters/functions.tex b/chapters/functions.tex index edd5a5bc9..af0a0a453 100644 --- a/chapters/functions.tex +++ b/chapters/functions.tex @@ -2068,13 +2068,14 @@ \subsection{Aliasing}\label{aliasing} \subsection{Annotations for External Libraries and Include Files}\label{annotations-for-external-libraries-and-include-files} -The following annotations are useful in the context of calling external functions from Modelica, and they should occur on the external-clause and no other standard annotations should occur on the external-clause. They can all specify either a scalar value or an array of values as indicated below for annotation (Library=\ldots{}): +The following annotations are useful in the context of calling external functions from Modelica, and they should occur on the external-clause and no other standard annotations should occur on the external-clause. +They can all specify either a scalar value or an array of values as indicated below for the \lstinline!Library! annotation: \begin{itemize} \item The \lstinline!annotation(Library="libraryName")!, 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 + 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