diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-07-03 19:55:34 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-07-03 19:55:34 -0400 |
commit | 1b6152005ca48614942bb8260d340c3dba039c11 (patch) | |
tree | 5010f419ab446f272e63d938730666d65785eb3f /gr-fft/lib/fft.cc | |
parent | d25aca5436ca7d08a7cfd5f9758710e1854bf087 (diff) |
fft: adding a malloc for doubles.
In core for master, also exporting symbols for use externally.
Diffstat (limited to 'gr-fft/lib/fft.cc')
-rw-r--r-- | gr-fft/lib/fft.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-fft/lib/fft.cc b/gr-fft/lib/fft.cc index 6074236e18..60838ee302 100644 --- a/gr-fft/lib/fft.cc +++ b/gr-fft/lib/fft.cc @@ -62,6 +62,12 @@ namespace gr { return (float*)fftwf_malloc(sizeof(float)*size); } + double * + malloc_double(int size) + { + return (double*)fftwf_malloc(sizeof(double)*size); + } + void free(void *b) { |