implement sequence input for SWIG and integer lists
implement int results by pointer