summaryrefslogtreecommitdiff
path: root/view/bintxt/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'view/bintxt/src/lib.rs')
-rw-r--r--view/bintxt/src/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/view/bintxt/src/lib.rs b/view/bintxt/src/lib.rs
index 392fe4ce..4627c654 100644
--- a/view/bintxt/src/lib.rs
+++ b/view/bintxt/src/lib.rs
@@ -7,24 +7,24 @@ use ihex::*;
use srec::*;
use titxt::*;
-use std::ops::Range;
-use log::LevelFilter;
use binaryninja::logger::Logger;
+use log::LevelFilter;
+use std::ops::Range;
#[no_mangle]
#[allow(non_snake_case)]
pub extern "C" fn CorePluginInit() -> bool {
Logger::new("BINTXT").with_level(LevelFilter::Info).init();
- binaryninja::custombinaryview::register_view_type(c"ti-txt", c"TI-TXT", |core| {
+ binaryninja::custom_binary_view::register_view_type(c"ti-txt", c"TI-TXT", |core| {
TiTxtViewConstructor { core }
});
- binaryninja::custombinaryview::register_view_type(c"srec", c"Motorola S-record", |core| {
+ binaryninja::custom_binary_view::register_view_type(c"srec", c"Motorola S-record", |core| {
SRecViewConstructor { core }
});
- binaryninja::custombinaryview::register_view_type(c"ihex", c"Intel HEX", |core| {
+ binaryninja::custom_binary_view::register_view_type(c"ihex", c"Intel HEX", |core| {
IHexViewConstructor { core }
});