func (n *VirInterface) Free() error { if result := C.virInterfaceFree(n.ptr); result != 0 { return GetLastError() } return nil }
func cleanupInterface(vinterface *Interface) { C.virInterfaceFree(vinterface.cptr) }