Пример #1
0
func (n *VirInterface) Free() error {
	if result := C.virInterfaceFree(n.ptr); result != 0 {
		return GetLastError()
	}
	return nil
}
Пример #2
0
func cleanupInterface(vinterface *Interface) {
	C.virInterfaceFree(vinterface.cptr)
}