use crate::ffi;
glib::wrapper! {
pub struct FilterStreamInfo(BoxedInline<ffi::MirageFilterStreamInfo>);
match fn {
copy => |ptr| {
let copy = crate::glib::ffi::g_malloc0(size_of::<ffi::MirageFilterStreamInfo>()) as *mut ffi::MirageFilterStreamInfo;
ffi::mirage_filter_stream_info_copy(ptr, copy);
copy
},
free => |ptr| ffi::mirage_filter_stream_info_free(ptr),
init => |_ptr| {},
copy_into => |dest, src| ffi::mirage_filter_stream_info_copy(src, dest),
clear => |_ptr| {},
}
}