1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT

glib::wrapper! {
    /// A structure used to describe a text range.
    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
    pub struct TextRange(Boxed<ffi::AtkTextRange>);

    match fn {
        copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::atk_text_range_get_type(), ptr as *mut _) as *mut ffi::AtkTextRange,
        free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::atk_text_range_get_type(), ptr as *mut _),
        type_ => || ffi::atk_text_range_get_type(),
    }
}