libostree 0.1.1

Rust bindings for libostree
Documentation
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT

use ffi;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;

glib_wrapper! {
    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
    pub struct RepoDevInoCache(Shared<ffi::OstreeRepoDevInoCache>);

    match fn {
        ref => |ptr| ffi::ostree_repo_devino_cache_ref(ptr),
        unref => |ptr| ffi::ostree_repo_devino_cache_unref(ptr),
        get_type => || ffi::ostree_repo_devino_cache_get_type(),
    }
}

impl RepoDevInoCache {
    pub fn new() -> RepoDevInoCache {
        unsafe {
            from_glib_full(ffi::ostree_repo_devino_cache_new())
        }
    }
}

impl Default for RepoDevInoCache {
    fn default() -> Self {
        Self::new()
    }
}