cogl/auto/
onscreen_dirty_closure.rs1glib_wrapper! {
2 #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
3 pub struct OnscreenDirtyClosure(Boxed<ffi::CoglOnscreenDirtyClosure>);
4
5 match fn {
6 copy => |ptr| gobject_sys::g_boxed_copy(ffi::cogl_onscreen_dirty_closure_get_gtype(), ptr as *mut _) as *mut ffi::CoglOnscreenDirtyClosure,
7 free => |ptr| gobject_sys::g_boxed_free(ffi::cogl_onscreen_dirty_closure_get_gtype(), ptr as *mut _),
8 get_type => || ffi::cogl_onscreen_dirty_closure_get_gtype(),
9 }
10}