public static extern IntPtr DoubleMatrix_Create(double[] values, UIntPtr order); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]