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