summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2021-09-21 19:17:35 +0800
committerXusheng <xusheng@vector35.com>2021-09-27 11:52:18 +0800
commitc7e33d35b4adef40e53619662c7a6cfc198efd4a (patch)
tree668f61f855615c1207eb48bb1b0e23a507e56a5a /rust
parentf6d43d5eda8a1bbc95fc5467beb4cc9723b85682 (diff)
Better support for change type in linear view
Diffstat (limited to 'rust')
-rw-r--r--rust/src/disassembly.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/src/disassembly.rs b/rust/src/disassembly.rs
index 2eb96680..c4ca2b33 100644
--- a/rust/src/disassembly.rs
+++ b/rust/src/disassembly.rs
@@ -128,6 +128,7 @@ impl From<Vec<InstructionTextToken>> for DisassemblyTextLine {
hasTypeInfo: false,
parentType: ptr::null_mut(),
fieldIndex: usize::MAX,
+ offset: 0
},
})
}
@@ -167,6 +168,7 @@ impl From<&Vec<&str>> for DisassemblyTextLine {
hasTypeInfo: false,
parentType: ptr::null_mut(),
fieldIndex: usize::MAX,
+ offset: 0
},
})
}
@@ -195,6 +197,7 @@ impl Default for DisassemblyTextLine {
hasTypeInfo: false,
parentType: ptr::null_mut(),
fieldIndex: usize::MAX,
+ offset: 0
},
})
}