gtk 0.0.6

Rust bindings for the GTK+ library
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2013-2015, The Gtk-rs Project Developers.
// See the COPYRIGHT file at the top-level directory of this distribution.
// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>

use ffi;

glib_wrapper! {
    pub struct TreeIter(Boxed<ffi::GtkTreeIter>);

    match fn {
        copy => |ptr| ffi::gtk_tree_iter_copy(ptr as *mut _),
        free => |ptr| ffi::gtk_tree_iter_free(ptr),
    }
}