Skip to content

Commit

Permalink
Clarify that a modified macro may be used
Browse files Browse the repository at this point in the history
to build shared library

(see modelica#420)
  • Loading branch information
t-sommer committed Mar 9, 2019
1 parent 20b60a6 commit 046ef70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/2_1_common_api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ In order for this to be possible,
the names of the functions in different FMUs must be different, or function pointers must be used.
To support the first variant macros are provided in `"fmi2Functions.h"` to build the actual
function names by using a function prefix that depends on how the FMU is shipped.
_[These macros can be modified to compile the shared library from the source code e.g. to simulate an FMU that has been exported on a different platform.]_
Typically, FMU functions are used as follows:

[source, C]
Expand Down

0 comments on commit 046ef70

Please sign in to comment.