SWIG example