Swig macro bug