main.cc (2738:5d7a31c7fa29) main.cc (2762:470f9e55fe54)
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 283 unchanged lines hidden (view full) ---

292
293 PyRun_InteractiveLoop(stdin, "stdin");
294 }
295
296 // clean up Python intepreter.
297 Py_Finalize();
298}
299
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 283 unchanged lines hidden (view full) ---

292
293 PyRun_InteractiveLoop(stdin, "stdin");
294 }
295
296 // clean up Python intepreter.
297 Py_Finalize();
298}
299
300
301void
302setOutputDir(const string &dir)
303{
304 simout.setDirectory(dir);
305}
306
307
300IniFile inifile;
301
302SimObject *
303createSimObject(const string &name)
304{
305 return SimObjectClass::createObject(inifile, name);
306}
307

--- 242 unchanged lines hidden ---
308IniFile inifile;
309
310SimObject *
311createSimObject(const string &name)
312{
313 return SimObjectClass::createObject(inifile, name);
314}
315

--- 242 unchanged lines hidden ---