this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #28 from bmcdonnell-ionx/user-override-malloc

Allow user override of malloc and/or free

authored by

mborgerding and committed by
GitHub
3050076a b24d8076

+15 -6
+15 -6
kiss_fft.h
··· 31 31 in the tools/ directory. 32 32 */ 33 33 34 + /* User may override KISS_FFT_MALLOC and/or KISS_FFT_FREE. */ 34 35 #ifdef USE_SIMD 35 36 # include <xmmintrin.h> 36 37 # define kiss_fft_scalar __m128 37 - #define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16) 38 - #define KISS_FFT_FREE _mm_free 39 - #else 40 - #define KISS_FFT_MALLOC malloc 41 - #define KISS_FFT_FREE free 42 - #endif 38 + # ifndef KISS_FFT_MALLOC 39 + # define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16) 40 + # endif 41 + # ifndef KISS_FFT_FREE 42 + # define KISS_FFT_FREE _mm_free 43 + # endif 44 + #else 45 + # ifndef KISS_FFT_MALLOC 46 + # define KISS_FFT_MALLOC malloc 47 + # endif 48 + # ifndef KISS_FFT_FREE 49 + # define KISS_FFT_FREE free 50 + # endif 51 + #endif 43 52 44 53 45 54 #ifdef FIXED_POINT