Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added the remaining external functions in System_omc.cpp - Main.main now passes the gcc linker and produces a 15MB executable that at the very least can display the help text on start (the main() function ignores argv,argc) git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7146 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
7 changed files
with
290 additions
and
163 deletions.
There are no files selected for viewing
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
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,53 @@ | ||
/* | ||
* 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> | ||
|
||
extern "C" { | ||
|
||
void* SimulationResults_readPtolemyplotVariables(const char *filename, const char *visvars) | ||
{ | ||
fprintf(stderr, "SimulationResults_readPtolemyplotVariables NYI\n"); | ||
throw 1; | ||
} | ||
|
||
void* SimulationResults_readPtolemyplotDataset(const char *filename, void *vars, int i) | ||
{ | ||
fprintf(stderr, "SimulationResults_readPtolemyplotDataset NYI\n"); | ||
throw 1; | ||
} | ||
|
||
void* SimulationResults_readPtolemyplotDatasetSize(const char *filename) | ||
{ | ||
fprintf(stderr, "SimulationResults_readPtolemyplotDatasetSize NYI\n"); | ||
throw 1; | ||
} | ||
|
||
} |
File renamed without changes.
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
Oops, something went wrong.