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/matrixTranspose.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/matrixOperations/includes/matrixTranspose.h') diff --git a/src/matrixOperations/includes/matrixTranspose.h b/src/matrixOperations/includes/matrixTranspose.h index 429e8303..122b618d 100644 --- a/src/matrixOperations/includes/matrixTranspose.h +++ b/src/matrixOperations/includes/matrixTranspose.h @@ -13,9 +13,14 @@ #ifndef __MATRIXTRANSPOSE_H__ #define __MATRIXTRANSPOSE_H__ +#include "dynlib_matrixoperations.h" #include "floatComplex.h" #include "doubleComplex.h" #include + +#ifdef __cplusplus +extern "C" { +#endif /* ** \brief Compute the transpose of a float matrix. ** \param in : input matrix. @@ -23,7 +28,7 @@ ** \param column1 : number of column1 ** \param out : the transposed float matrix. */ -void stransposea ( float* in , int lines1 , int column1, float* out ); +EXTERN_MATOPS void stransposea ( float* in , int lines1 , int column1, float* out ); /* ** \brief Compute the transpose of a double matrix. ** \param in : input matrix. @@ -31,7 +36,7 @@ void stransposea ( float* in , int lines1 , int column1, float* out ); ** \param column1 : number of column1 ** \param out : the transposed double matrix. */ -void dtransposea ( double* in , int lines1 , int column1, double* out ); +EXTERN_MATOPS void dtransposea ( double* in , int lines1 , int column1, double* out ); /* ** \brief Compute the transpose of a float complex matrix. ** \param in : input matrix. @@ -39,7 +44,7 @@ void dtransposea ( double* in , int lines1 , int column1, double* out ); ** \param column1 : number of column1 ** \param out : the transposed float complex matrix. */ -void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* out ); +EXTERN_MATOPS void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* out ); /* ** \brief Compute the transpose of a double complex matrix. ** \param in : input matrix. @@ -47,6 +52,10 @@ void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* ou ** \param column1 : number of column1 ** \param out : the transposed double complex matrix. */ -void ztransposea ( doubleComplex* in , int lines1 , int column1, doubleComplex* out ); +EXTERN_MATOPS void ztransposea ( doubleComplex* in , int lines1 , int column1, doubleComplex* out ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif /* !__MATRIXTRANSPOSE_H__ */ -- cgit