swig example