Skip to content

Commit

Permalink
- Fix System.getHasExpandable/StreamConnector (output was unbound, i.…
Browse files Browse the repository at this point in the history
…e. false, in the bootstrapped omc)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7599 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 31, 2010
1 parent 764b530 commit e9b8cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Util/System.mo
Expand Up @@ -515,7 +515,7 @@ public function getHasExpandableConnectors
retrieves the external flag that signals the
presence of expandable connectors in a model"
output Boolean hasExpandable;
external "C" System_getHasExpandableConnectors() annotation(Library = "omcruntime");
external "C" hasExpandable=System_getHasExpandableConnectors() annotation(Library = "omcruntime");
end getHasExpandableConnectors;

public function setHasStreamConnectors
Expand All @@ -531,7 +531,7 @@ public function getHasStreamConnectors
retrieves the external flag that signals the
presence of stream connectors in a model"
output Boolean hasStream;
external "C" System_getHasStreamConnectors() annotation(Library = "omcruntime");
external "C" hasStream=System_getHasStreamConnectors() annotation(Library = "omcruntime");
end getHasStreamConnectors;

public function setHasInnerOuterDefinitions
Expand Down

0 comments on commit e9b8cfb

Please sign in to comment.