diff --git a/bindings/rig.swg b/bindings/rig.swg index 134bc3248..305598247 100644 --- a/bindings/rig.swg +++ b/bindings/rig.swg @@ -436,7 +436,7 @@ typedef channel_t * const_channel_t_p; METHOD1VGET(get_rit, shortfreq_t) METHOD1VGET(get_xit, shortfreq_t) METHOD1VGET(get_ts, shortfreq_t) - extern void get_ant(value_t * OUTPUT, ant_t * OUTPUT, vfo_t vfo = RIG_VFO_CURR); + extern void get_ant(value_t * OUTPUT, ant_t * OUTPUT, ant_t ant, vfo_t vfo = RIG_VFO_CURR); METHOD1VGET(get_mem, int) METHOD1GET(get_powerstat, powerstat_t) METHOD1GET(get_trn, int) @@ -557,9 +557,9 @@ void Rig_get_split_mode(Rig *self, rmode_t *mode, pbwidth_t *width, vfo_t vfo) self->error_status = rig_get_split_mode(self->rig, vfo, mode, width); } -void Rig_get_ant(Rig *self, value_t *option, ant_t *ant, vfo_t vfo) +void Rig_get_ant(Rig *self, value_t *option, ant_t *ant_curr, ant_t ant, vfo_t vfo) { - self->error_status = rig_get_ant(self->rig, vfo, ant, option); + self->error_status = rig_get_ant(self->rig, vfo, ant, ant_curr, option); } struct channel *Rig_get_chan_all(Rig *self)