swig and dyn port