check swig