Xcos MVC: fix includes
[scilab.git] / scilab / modules / scicos / src / cpp / il_sim.cpp
1 /*
2  *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  *  Copyright (C) 2014 - Scilab Enterprises - Paul Bignier
4  *
5  *  This file must be used under the terms of the CeCILL.
6  *  This source file is licensed as described in the file COPYING, which
7  *  you should have received as part of this distribution.  The terms
8  *  are also available at
9  *  http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
10  *
11  */
12
13 /*--------------------------------------------------------------------------*/
14 #include "il_sim.hxx"
15
16 #include "types.hxx"
17 #include "internal.hxx"
18
19 /*--------------------------------------------------------------------------*/
20 static types::InternalType* il_sim_save = nullptr;
21 /*--------------------------------------------------------------------------*/
22 types::InternalType* get_il_sim(void)
23 {
24     return il_sim_save;
25 }
26 /*--------------------------------------------------------------------------*/
27 types::InternalType* set_il_sim(types::InternalType* _sim)
28 {
29     il_sim_save = _sim;
30     return il_sim_save;
31 }
32 /*--------------------------------------------------------------------------*/