43 #ifndef __INPUTSOUTPUTS_H__ 44 #define __INPUTSOUTPUTS_H__ 49 # define __BEGIN_DECLS extern "C" { 50 # define __END_DECLS } 52 # define __BEGIN_DECLS 82 double *inherited_inputs;
112 INLINE_DECL
void modena_inputs_set(
modena_inputs_t *
self,
const size_t i,
double x);
114 INLINE_DECL
void modena_inherited_inputs_set
121 INLINE_DECL
double modena_inputs_get(
const modena_inputs_t *
self,
const size_t i);
123 INLINE_DECL
double modena_inherited_inputs_get
129 INLINE_DECL
double modena_outputs_get(
const modena_outputs_t *
self,
const size_t i);
133 INLINE_FUN
void modena_inputs_set(
modena_inputs_t *
self,
const size_t i,
double x)
138 INLINE_FUN
void modena_inherited_inputs_set
145 self->inherited_inputs[i] = x;
148 INLINE_FUN
double modena_inputs_get(
const modena_inputs_t *
self,
const size_t i)
150 return self->inputs[i];
153 INLINE_FUN
double modena_inherited_inputs_get
159 return self->inherited_inputs[i];
162 INLINE_FUN
double modena_outputs_get(
const modena_outputs_t *
self,
const size_t i)
164 return self->outputs[i];
modena_siunits_t * modena_siunits_new()