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