Example #1
0
// enet_host_destroy
func (host *Host) Destroy() {
	C.enet_host_destroy(host.host)
	//host.host = uintptr(0)
}
Example #2
0
File: host.go Project: boj/goenet
func (h *ENetHost) Destroy() {
	C.enet_host_destroy((*C.ENetHost)(h))
}