File: fftwf.c

package info (click to toggle)
pd-iemmatrix 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,588 kB
  • sloc: ansic: 15,027; makefile: 285; sh: 125
file content (15 lines) | stat: -rw-r--r-- 260 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifdef HAVE_FFTWF
#include <fftw3.h>

#undef STUB
#define STUB(x) \
  void* iemmatrix_ ## x() { return x; }

STUB(fftwf_malloc);
STUB(fftwf_free);

STUB(fftwf_plan_dft_c2r_1d);
STUB(fftwf_plan_dft_r2c_1d);
STUB(fftwf_execute);
STUB(fftwf_destroy_plan);
#endif