Solver object in C wrapper interface