From 879e2ac0a540fa1b199e20d47830aa5eea484a4c Mon Sep 17 00:00:00 2001 From: cornet Date: Wed, 22 Apr 2009 05:54:43 +0000 Subject: build with visual studio (dynamic libraries) --- src/matrixOperations/includes/ones.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'src/matrixOperations/includes/ones.h') 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__ */ -- cgit