export bond with ex-coupon parameter to swig