diff options
author | cornet | 2009-04-22 05:54:43 +0000 |
---|---|---|
committer | cornet | 2009-04-22 05:54:43 +0000 |
commit | 879e2ac0a540fa1b199e20d47830aa5eea484a4c (patch) | |
tree | 69ef4242aa8ce27332dec2a27f4e7f10a6f9e8fb /src/matrixOperations/includes/ones.h | |
parent | 1811fe5588d0cfbb788ab8f477800af3f45dd710 (diff) | |
download | scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.gz scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.bz2 scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.zip |
build with visual studio (dynamic libraries)
Diffstat (limited to 'src/matrixOperations/includes/ones.h')
-rw-r--r-- | src/matrixOperations/includes/ones.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/matrixOperations/includes/ones.h b/src/matrixOperations/includes/ones.h index d32f9a7e..63d8bd4b 100644 --- a/src/matrixOperations/includes/ones.h +++ b/src/matrixOperations/includes/ones.h @@ -14,9 +14,15 @@ #ifndef __ONES_H__ #define __ONES_H__ +#include "dynlib_matrixoperations.h" #include "floatComplex.h" #include "doubleComplex.h" + +#ifdef __cplusplus +extern "C" { +#endif + /* ** \brief create a float one value */ @@ -42,18 +48,22 @@ /* ** \brief create a float matrix full of one */ -void sonesa ( float* in , int rows , int cols ); +EXTERN_MATOPS void sonesa ( float* in , int rows , int cols ); /* ** \brief create a float complex matrix full of one */ -void conesa ( floatComplex* in , int rows ,int cols ); +EXTERN_MATOPS void conesa ( floatComplex* in , int rows ,int cols ); /* ** \brief create a double matrix full of one */ -void donesa ( double* in , int rows ,int cols ); +EXTERN_MATOPS void donesa ( double* in , int rows ,int cols ); /* ** \brief create a double complex matrix full of one */ -void zonesa ( doubleComplex* in , int rows ,int cols ); +EXTERN_MATOPS void zonesa ( doubleComplex* in , int rows ,int cols ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif /* !__ONES_H__ */ |