public static extern double core_solvePoly(IntPtr coeffs, IntPtr roots, int maxIters); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]