Пример #1
0
func (i *IR) unsetOnRawDataHandler() {
	C.unsetOnCodeHandler(i.handle)
	C.handlerFree(i.onRawDataHandler)
	i.onRawDataHandler = nil
}
Пример #2
0
func (i *IR) unsetOnLearnHandler() {
	C.unsetOnCodeHandler(i.handle)
	C.handlerFree(i.onLearnHandler)
	i.onLearnHandler = nil
}