c++ return double*
c# intPtr 类型接收
使用
Marshal.Copy(IntPtr source, double[] destination, int startIndex, int length);
将取到的source拷贝到c#声明的destination