func (self *Shout) Close() error { err := C.shout_close(self.shout) if err != 0 { return self.createShoutError() } return nil }
func (s *Shout) Close() error { errcode := int(C.shout_close(s.struc)) if errcode != C.SHOUTERR_SUCCESS { return ShoutError{ Code: errcode, Message: s.GetError(), } } return nil }