use crate::{ffi, DomElement, DomNode, GcNode, GcPropertyNode};
use glib::{prelude::*, translate::*};
glib::wrapper! {
#[doc(alias = "ArvGcInvalidatorNode")]
pub struct GcInvalidatorNode(Object<ffi::ArvGcInvalidatorNode, ffi::ArvGcInvalidatorNodeClass>) @extends GcPropertyNode, GcNode, DomElement, DomNode;
match fn {
type_ => || ffi::arv_gc_invalidator_node_get_type(),
}
}
impl GcInvalidatorNode {
#[doc(alias = "arv_gc_invalidator_node_new")]
pub fn new() -> GcInvalidatorNode {
assert_initialized_main_thread!();
unsafe { GcNode::from_glib_full(ffi::arv_gc_invalidator_node_new()).unsafe_cast() }
}
}
impl Default for GcInvalidatorNode {
fn default() -> Self {
Self::new()
}
}
unsafe impl Send for GcInvalidatorNode {}