// enet_host_check_event func (host *Host) CheckEvents() (*Event, error) { var c_event C.ENetEvent ret := C.enet_host_check_events(host.host, &c_event) return host.ret_to_error(&c_event, ret) }
func (h *ENetHost) CheckEvents(event *ENetEvent) int { return int(C.enet_host_check_events((*C.ENetHost)(h), (*C.ENetEvent)(event))) }