1 2 3 4 5 6 7 8 9 10 11 12
// Copyright The pipewire-rs Contributors. // SPDX-License-Identifier: MIT //! SPA list /// Remove an element from its list pub fn remove(elem: &spa_sys::spa_list) { unsafe { (*elem.prev).next = elem.next; (*elem.next).prev = elem.prev; } }