Skip to content

Commit

Permalink
- Bootstrapping: Fix SimulationResults.close()
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9472 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jul 13, 2011
1 parent e4ac0ea commit 36a38dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Util/SimulationResults.mo
Expand Up @@ -72,7 +72,7 @@ public function readSimulationResultSize
end readSimulationResultSize;

public function close
external "C" SimulationResultsImpl__close() annotation(Library = "omcruntime");
external "C" SimulationResults_close() annotation(Library = "omcruntime");
end close;


Expand Down
5 changes: 5 additions & 0 deletions Compiler/runtime/SimulationResults_omc.cpp
Expand Up @@ -71,4 +71,9 @@ void* SimulationResults_cmpSimulationResults(const char *filename,const char *re
return SimulationResultsCmp_compareResults(filename,reffilename,logfilename,refTol,absTol,vars);
}

void SimulationResults_close()
{
SimulationResultsImpl__close(&simresglob);
}

}

0 comments on commit 36a38dc

Please sign in to comment.