itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
_sci_macros.hpp
1 
6 #ifndef SCI_MACROS_HPP
7 #define SCI_MACROS_HPP
8 
9 #if defined(SCI_LIB_MACROS)
10 
11 #include "sci\_sci_api.hpp"
12 #include "sci\_sci_emu.hpp"
13 
14 #define SCI_NAMESPACE "SCI"
15 
16 #define SCI_CREATE EMU_SCI_CREATE
17 #define SCI_SET EMU_SCI_SET
18 #define SCI_GET EMU_SCI_GET
19 #define SCI_EXEC EMU_SCI_EXEC
20 #define SCI_GEN EMU_SCI_GEN
21 #define SCI_PROC EMU_SCI_PROC
22 #define SCI_DESTROY EMU_SCI_DESTROY
23 
24 #elif defined ( SCI_DLL_MACROS )
25 
26 #include "sci\_sci_api_dll.hpp"
27 #include "sci\_sci_emu.hpp"
28 
29 #define SCI_NAMESPACE "SCI_DLL"
30 
31 extern pf_sci_create sci_create;
32 extern pf_sci_set sci_set;
33 extern pf_sci_get sci_get;
34 extern pf_sci_exec sci_exec;
35 extern pf_sci_gen sci_gen;
36 extern pf_sci_proc sci_proc;
37 extern pf_sci_destroy sci_destroy;
38 
39 #define SCI_CREATE EMU_SCI_CREATE
40 #define SCI_SET EMU_SCI_SET
41 #define SCI_GET EMU_SCI_GET
42 #define SCI_EXEC EMU_SCI_EXEC
43 #define SCI_GEN EMU_SCI_GEN
44 #define SCI_PROC EMU_SCI_PROC
45 #define SCI_DESTROY EMU_SCI_DESTROY
46 
47 
48 #elif defined( SCI_IF_LIB_MACROS )
49 
50 #include "_sci_if.h"
51 #include "sci\_sci_if_emu.hpp"
52 
53 #define SCI_CREATE EMU_SCI_IF_CREATE
54 #define SCI_SET EMU_SCI_IF_SET
55 #define SCI_GET EMU_SCI_IF_GET
56 #define SCI_EXEC EMU_SCI_IF_EXEC
57 #define SCI_GEN EMU_SCI_IF_GEN
58 #define SCI_PROC EMU_SCI_IF_PROC
59 #define SCI_DESTROY EMU_SCI_IF_DESTROY
60 
61 #endif
62 
63 #endif // SCI_MACROS_HPP