WIP mutf8
This commit is contained in:
parent
d44e2b624b
commit
24f4b0b46d
3 changed files with 459 additions and 2 deletions
|
|
@ -78,12 +78,12 @@ pub fn derive_serializable(input: proc_macro::TokenStream) -> proc_macro::TokenS
|
|||
let implem_size = get_implem_size(&input.data, ¶ms);
|
||||
let expanded = quote! {
|
||||
impl androscalpel_serializer::Serializable for #name {
|
||||
#[allow(clippy::single_element_loop)]
|
||||
#[allow(clippy::single_element_loop, clippy::let_and_return)]
|
||||
fn serialize(&self, output: &mut dyn std::io::Write) -> androscalpel_serializer::Result<()> {
|
||||
#implem_serialize
|
||||
}
|
||||
|
||||
#[allow(clippy::single_element_loop)]
|
||||
#[allow(clippy::single_element_loop, clippy::let_and_return)]
|
||||
fn deserialize(input: &mut dyn androscalpel_serializer::ReadSeek) -> androscalpel_serializer::Result<Self> {
|
||||
#implem_deserialize
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue