making swig-stub do stuff