Skip to content

Commit

Permalink
Fix missing \lstinline of 'Library' (annotation)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 10, 2020
1 parent d1e1afa commit ed1dc14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chapters/functions.tex
Expand Up @@ -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
Expand Down

0 comments on commit ed1dc14

Please sign in to comment.