itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
_sci_if_dll.h
1 /*xxx
2 * \brief - second layer of sci interface
3 * Function headers use only C style - no c++, itpp
4 * \author maki
5 */
6 
7 // this is included both in *.c and *.cpp
8 // extern "C" is not understand by c-compiler
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #ifndef SCI_IF_DLL_H
14 #define SCI_IF_DLL_H
15 #endif
16 
17  typedef void (*pf_sci_if_copy_var)(struct var_struct *p_s_v);
18  typedef void (*pf_sci_if_delete_var)(struct var_struct *p_s_v);
19  typedef void* (*pf_sci_if_create)(int mod);
20  typedef void (*pf_sci_if_set)(void * p_sci, int param, struct var_struct *p_s_v);
21  typedef struct var_struct(*pf_sci_if_get)(void * p_sci, int param);
22  typedef void (*pf_sci_if_exec)(void *p_sci, int command);
23  typedef struct var_struct(*pf_sci_if_gen)(void *p_sci, struct var_struct* p_s_ce);
24  typedef struct var_struct(*pf_sci_if_proc)(void *p_sci, struct var_struct* p_s_ce, struct var_struct *p_s_x);
25  typedef void (*pf_sci_if_destroy)(void *p_sci);
26 
27 #ifdef __cplusplus
28 }
29 #endif