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