public static extern Scalar core_trace(IntPtr mtx); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]