[Scipy-svn] r4341 - branches/refactor_fft/scipy/fftpack/backends/fftw3/src

scipy-svn at scipy.org scipy-svn at scipy.org
Thu May 15 08:45:02 EDT 2008


Author: cdavid
Date: 2008-05-15 07:44:54 -0500 (Thu, 15 May 2008)
New Revision: 4341

Modified:
   branches/refactor_fft/scipy/fftpack/backends/fftw3/src/api.h
Log:
Set C linkage for f2py

Modified: branches/refactor_fft/scipy/fftpack/backends/fftw3/src/api.h
===================================================================
--- branches/refactor_fft/scipy/fftpack/backends/fftw3/src/api.h	2008-05-15 12:36:52 UTC (rev 4340)
+++ branches/refactor_fft/scipy/fftpack/backends/fftw3/src/api.h	2008-05-15 12:44:54 UTC (rev 4341)
@@ -4,6 +4,7 @@
 /*
  * straight FFT api
  */
+extern "C" {
 void drfft_fftw3(double * inout, int n, int direction, int howmany, 
                   int normalize);
 
@@ -13,5 +14,6 @@
 void zfftnd_fftw3(complex_double * inout, int rank,
 			 int *dims, int direction, int howmany,
 			 int normalize);
+};
 
 #endif




More information about the Scipy-svn mailing list