public static extern int core_Mat_depth(IntPtr self); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, EntryPoint = "core_Mat_diag1")]