一个计算快速傅里叶变换的函数,返回值为空,
void fft(short sw,short n,float *x,float *y)
This function do Fast Fourier Transform.
sw=0 FFT , sw=1 IFFT n=256/512/1024/2048/4096 x: Array of data y: Array of data
怎么样把这个函数声明写成DElphi格式的额?
void fft(short sw,short n,float *x,float *y)
This function do Fast Fourier Transform.
sw=0 FFT , sw=1 IFFT n=256/512/1024/2048/4096 x: Array of data y: Array of data
怎么样把这个函数声明写成DElphi格式的额?
type
Ttest=procedure(sw:pchar;n:pchar;x:pchar;y:pchar);stdcall;
是= 不是:=?
然后函数名在哪里?
procedure func(sw:shortint; n:shortint; x:Psingle; y:Psingle); stdcall; external 'test.dll';