generating bindings with swig tool