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