diff options
author | iximeow <me@iximeow.net> | 2021-07-06 18:02:30 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-06 18:02:30 -0700 |
commit | f393fae8906a0bc9431743db09bf6268b8f3810c (patch) | |
tree | 318745301466109df8e0c0a1b162b18b2b73f112 | |
parent | ca5e4d5d2bdecaebc7da7657cbda2f70a57fdad0 (diff) |
add Reader impls for U8Reader on u16 addresses0.2.3
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/reader.rs | 1 |
3 files changed, 6 insertions, 1 deletions
@@ -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. @@ -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, |