use lief_ffi as ffi;
pub struct DeclOpt {
pub show_annotations: bool,
}
impl Default for DeclOpt {
fn default() -> DeclOpt {
DeclOpt {
show_annotations: true,
}
}
}
impl DeclOpt {
#[doc(hidden)]
pub fn to_ffi(&self) -> ffi::ObjC_DeclOpt {
ffi::ObjC_DeclOpt {
show_annotations: self.show_annotations,
}
}
}