This commit is contained in:
vms 2020-08-24 15:43:35 +03:00
parent a0e5438417
commit 4a77da52db
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ mod logger;
mod result;
pub use call_parameters::CallParameters;
#[cfg(not(feature = "used_in_sdk"))]
#[cfg(target_arch = "wasm")]
pub use call_parameters::get_call_parameters;
pub use export_allocator::allocate;
pub use export_allocator::deallocate;

View File

@ -67,7 +67,7 @@ fn generate_serializer_fn(record: &fce_ast_types::AstRecordItem) -> proc_macro2:
let serializer = record.generate_serializer();
quote::quote! {
pub fn __fce_generated_serialize(&self) -> *const u8 {
pub fn __fce_generated_serialize(self) -> *const u8 {
let mut raw_record: Vec<u64> = Vec::new();
#serializer