Skip to content

Commit

Permalink
c++:swig:go: Add missing event handlers
Browse files Browse the repository at this point in the history
The serial event handlers for raweventBase were missing.

Signed-off-by: Corey Minyard <[email protected]>
  • Loading branch information
cminyard committed Jan 4, 2024
1 parent 69bfa07 commit ac30bb6
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions c++/swig/go/gensio/gensioapi.srcgo
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,74 @@ func (e *raweventBase) Log(level Gensio_log_levels, s string) int {
return e.sube.Log(level, s)
}

func (e *raweventBase) Modemstate(state uint) {
e.sube.Modemstate(state)
}

func (e *raweventBase) ModemstateMask(state uint) {
e.sube.ModemstateMask(state)
}

func (e *raweventBase) Linestate(state uint) {
e.sube.Linestate(state)
}

func (e *raweventBase) LinestateMask(state uint) {
e.sube.LinestateMask(state)
}

func (e *raweventBase) Signature(data []byte) {
e.sube.Signature(data)
}

func (e *raweventBase) FlowState(state bool) {
e.sube.FlowState(state)
}

func (e *raweventBase) Sync() {
e.sube.Sync()
}

func (e *raweventBase) Baud(baud uint) {
e.sube.Baud(baud)
}

func (e *raweventBase) Datasize(size uint) {
e.sube.Datasize(size)
}

func (e *raweventBase) Parity(par uint) {
e.sube.Parity(par)
}

func (e *raweventBase) Stopbits(bits uint) {
e.sube.Stopbits(bits)
}

func (e *raweventBase) Flowcontrol(flow uint) {
e.sube.Flowcontrol(flow)
}

func (e *raweventBase) Iflowcontrol(flow uint) {
e.sube.Iflowcontrol(flow)
}

func (e *raweventBase) Sbreak(sbreak uint) {
e.sube.Sbreak(sbreak)
}

func (e *raweventBase) Dtr(dtr uint) {
e.sube.Dtr(dtr)
}

func (e *raweventBase) Rts(rts uint) {
e.sube.Rts(rts)
}

func (e *raweventBase) Flush(val uint) {
e.sube.Flush(val)
}

func (e *raweventBase) User_event(event int, err int,
userdata *[]byte, auxdata []string) int {
return e.sube.UserEvent(event, err, userdata, auxdata)
Expand Down

0 comments on commit ac30bb6

Please sign in to comment.