Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Corba implementation for the bootstrapping. Use with caution;…
… OMEdit queried omc so much 8GB RAM used in a jiffy. git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7201 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
16 changed files
with
5,297 additions
and
5,986 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* This file is part of OpenModelica. | ||
* | ||
* Copyright (c) 1998-2010, Linköpings University, | ||
* Department of Computer and Information Science, | ||
* SE-58183 Linköping, Sweden. | ||
* | ||
* All rights reserved. | ||
* | ||
* THIS PROGRAM IS PROVIDED UNDER THE TERMS OF THIS OSMC PUBLIC | ||
* LICENSE (OSMC-PL). ANY USE, REPRODUCTION OR DISTRIBUTION OF | ||
* THIS PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THE OSMC | ||
* PUBLIC LICENSE. | ||
* | ||
* The OpenModelica software and the Open Source Modelica | ||
* Consortium (OSMC) Public License (OSMC-PL) are obtained | ||
* from Linköpings University, either from the above address, | ||
* from the URL: http://www.ida.liu.se/projects/OpenModelica | ||
* and in the OpenModelica distribution. | ||
* | ||
* This program is distributed WITHOUT ANY WARRANTY; without | ||
* even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE, EXCEPT AS EXPRESSLY SET FORTH | ||
* IN THE BY RECIPIENT SELECTED SUBSIDIARY LICENSE CONDITIONS | ||
* OF OSMC-PL. | ||
* | ||
* See the full OSMC Public License conditions for more details. | ||
* | ||
*/ | ||
|
||
#include <stdio.h> | ||
#include "corbaimpl.cpp" | ||
#include "meta_modelica.h" | ||
|
||
extern "C" { | ||
|
||
extern const char* Corba_waitForCommand() | ||
{ | ||
return strdup(CorbaImpl__waitForCommand()); | ||
} | ||
|
||
extern void Corba_initialize() | ||
{ | ||
if (CorbaImpl__initialize()) MMC_THROW(); | ||
} | ||
|
||
extern void Corba_close() | ||
{ | ||
CorbaImpl__close(); | ||
} | ||
|
||
extern void Corba_sendreply(const char* _inString) | ||
{ | ||
CorbaImpl__sendreply(_inString); | ||
} | ||
|
||
} |
Oops, something went wrong.