diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-28 23:41:32 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-28 23:41:32 +0100 |
commit | ab0e2e306b7872d1c1e6494994070f52fe1b3c00 (patch) | |
tree | 859228b2cad149bc4cb4a76299ec29cd36ac28d0 /ebml_derive/src | |
parent | 1b8181e34fbbc6a6dfb89afa704e1e1d8fe7ff68 (diff) | |
download | jellything-ab0e2e306b7872d1c1e6494994070f52fe1b3c00.tar jellything-ab0e2e306b7872d1c1e6494994070f52fe1b3c00.tar.bz2 jellything-ab0e2e306b7872d1c1e6494994070f52fe1b3c00.tar.zst |
direct io for blocks
Diffstat (limited to 'ebml_derive/src')
-rw-r--r-- | ebml_derive/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ebml_derive/src/lib.rs b/ebml_derive/src/lib.rs index ab6cff8..fdf04e8 100644 --- a/ebml_derive/src/lib.rs +++ b/ebml_derive/src/lib.rs @@ -35,6 +35,7 @@ pub fn define_ebml(ts: TokenStream) -> TokenStream { "Float" => quote!((f64)), "Utf8" => quote!((String)), "Binary" => quote!((Vec<u8>)), + "Block" => quote!((Block)), _ => panic!("unsupported type {type}"), }, }) @@ -110,6 +111,7 @@ pub fn define_ebml(ts: TokenStream) -> TokenStream { quote! { use crate::Master; use crate::WriteValue; + use crate::Block; #[derive(Debug, PartialEq, Clone)] pub enum MatroskaTag { |