Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- More runtime functions for bootstrapping
git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/sjoelund-functiontree@6422 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
6 changed files
with
3,205 additions
and
3,139 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,56 @@ | ||
/* | ||
* 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 "systemimpl.c" | ||
|
||
extern "C" { | ||
|
||
extern int System__regularFileExists(const char* str) | ||
{ | ||
fprintf(stderr, "NYI: %s\n", __FUNCTION__); | ||
//return SystemImpl__regularFileExists(str); | ||
throw 1; | ||
} | ||
|
||
extern void writeFile(const char* filename, const char* data) | ||
{ | ||
fprintf(stderr, "NYI: %s\n", __FUNCTION__); | ||
//if (SystemImpl__writeFile(filename, data)) | ||
throw 1; | ||
} | ||
|
||
extern char* System__readFile(const char* filename) | ||
{ | ||
fprintf(stderr, "NYI: %s\n", __FUNCTION__); | ||
//return SystemImpl__readFile(filename); | ||
throw 1; | ||
} | ||
|
||
} |
Oops, something went wrong.