Skip to content

Commit

Permalink
Clean up indentation and capitalization in ExternalFunctions hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Oct 5, 2021
1 parent 547d8c9 commit 8567548
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions chapters/functions.tex
Expand Up @@ -2444,26 +2444,26 @@ \subsection{Annotations for External Libraries and Include Files}\label{annotati
Directory structure:
\begin{lstlisting}[language=modelica]
ExternalFunctions
package.mo // contains the Modelica code from above
package.mo // Modelica code from above
Resources
Include // contains the include files
ExternalFunc1.h // C header file
ExternalFunc2.h // C header file
ExternalFunc3.c // C source file (not ideal)
Library // contains the object libraries for different platforms
win32
ExternalLib1.lib // static link library for VisualStudio
ExternalLib2.lib // statically linking the dynamic link library
ExternalLib2.dll // dynamic link library (with manifest)
linux32
libExternalLib1.a // static link library
libExternalLib2.so // shared library
Source // Sources for library
Func1.c // C source for ExternalLib1.lib
Func2.c // C source for ExternalLib2.lib
HelperFunc.c // C source also included in ExternalLib2.lib
Include // Include files
ExternalFunc1.h // C header file
ExternalFunc2.h // C header file
ExternalFunc3.c // C source file (not ideal)
Library // Object libraries for different platforms
win32
ExternalLib1.lib // Static link library for VisualStudio
ExternalLib2.lib // statically linking the dynamic link library
ExternalLib2.dll // Dynamic link library (with manifest)
linux32
libExternalLib1.a // Static link library
libExternalLib2.so // Shared library
Source // Sources for library
Func1.c // C source for ExternalLib1.lib
Func2.c // C source for ExternalLib2.lib
HelperFunc.c // C source also included in ExternalLib2.lib
MyExternalFunctions
package.mo
package.mo
\end{lstlisting}
Note that calling the function \lstinline!MyExternalFunctions.ExternalFunc1! will use
the header and library files from \lstinline!ExternalFunction!, the \lstinline!ExternalFunctions.Example! will not use \filename{ExternalFunc3.c},
Expand Down

0 comments on commit 8567548

Please sign in to comment.