public static extern IntPtr core_Mat_reshape3(IntPtr self, int cn, int newndims, [MarshalAs(UnmanagedType.LPArray)] int[] newsz); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]