-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add abstraction layer for external function of Streams.error #4496
base: master
Are you sure you want to change the base?
Conversation
@beutlich can you quickly describe what is the advantage of this solution? Thanks! |
Currently MSL requires that tools provide a library (static or dynamic) named "ModelicaExternalC.*" where symbol "ModelicaError" gets resolved. However, this is not required from MLS perspective. This PR fixes this superfluous requirement. |
bdf4e0b
to
fd3966e
Compare
Is this related to #4476? If so, we should probably try to get a harmonized solution. Or is this an orthogonal issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, makes sense.
I'd rather consider this an orthogonal issue. The current external function of Stream.error uses some kind of short-hand of ModelicaError being exposed of library ModelicaExternalC. However ModelicaExternalC is provided by MSL (and not specified in MLS) whereas ModelicaError is provided by vendor-specific ModelicaUtilities. |
fd3966e
to
0812a07
Compare
This avoids that Modelica utility function ModelicaError has to be provided by library ModelicaExternalC.
0812a07
to
64dc67b
Compare
This avoids that Modelica utility function ModelicaError has to be provided by library ModelicaExternalC.