aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-07-06 18:02:30 -0700
committeriximeow <me@iximeow.net>2021-07-06 18:02:30 -0700
commitf393fae8906a0bc9431743db09bf6268b8f3810c (patch)
tree318745301466109df8e0c0a1b162b18b2b73f112
parentca5e4d5d2bdecaebc7da7657cbda2f70a57fdad0 (diff)
add Reader impls for U8Reader on u16 addresses0.2.3
-rw-r--r--CHANGELOG4
-rw-r--r--Cargo.toml2
-rw-r--r--src/reader.rs1
3 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index acbe679..31aa495 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+## 0.2.3
+
+added `Reader` impls for `U8Reader` on `u16` addresses
+
## 0.2.2
added `ReaderBuilder` trait and impls for `U8Reader` on various address and word types.
diff --git a/Cargo.toml b/Cargo.toml
index 1fc3aff..2325591 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,7 +7,7 @@ keywords = ["disassembly", "disassembler"]
license = "0BSD"
name = "yaxpeax-arch"
repository = "https://git.iximeow.net/yaxpeax-arch/"
-version = "0.2.2"
+version = "0.2.3"
[dependencies]
"num-traits" = { version = "0.2", default-features = false }
diff --git a/src/reader.rs b/src/reader.rs
index afadea0..db72b79 100644
--- a/src/reader.rs
+++ b/src/reader.rs
@@ -189,6 +189,7 @@ macro_rules! u8reader_each_addr_size {
($word:ident, $word_from_slice:expr, $words_from_slice:expr) => {
u8reader_reader_impl!(u64, $word, $word_from_slice, $words_from_slice);
u8reader_reader_impl!(u32, $word, $word_from_slice, $words_from_slice);
+ u8reader_reader_impl!(u16, $word, $word_from_slice, $words_from_slice);
}
}
u8reader_each_addr_size!(u8,