dharitri_sc_wasm_adapter/
wasm_alloc.rs

1mod fail_allocator;
2mod leaking_allocator;
3mod memory_grow;
4mod static_allocator;
5
6pub use fail_allocator::FailAllocator;
7pub use leaking_allocator::LeakingAllocator;
8pub use static_allocator::{StaticAllocator, StaticAllocator64K};
9
10fn mem_alloc_error() -> ! {
11    crate::error_hook::signal_error(dharitri_sc::err_msg::MEM_ALLOC_ERROR.as_bytes())
12}