pub fn heap_grow(&self, wasm_pages: u32) -> u32 {
        self.heap
            .write()
            .expand((wasm_pages as usize) * WASM_PAGE_SIZE)
            .map_or(core::u32::MAX, |x| (x / WASM_PAGE_SIZE) as u32)
    }
/// Grows the heap by `wasm_pages` WebAssembly pages.
Grows the heap by `wasm_pages` WebAssembly pages.
Grows the heap by ` wasm_pages ` WebAssembly pages .
pub fn heap_grow(&self, wasm_pages: u32) -> u32 {
        self.heap
            .write()
            .expand((wasm_pages as usize) * WASM_PAGE_SIZE)
            .map_or(core::u32::MAX, |x| (x / WASM_PAGE_SIZE) as u32)
    }
pub fn heap_grow ( & self , wasm_pages : u32 ) -> u32 { self . heap . write ( ) . expand ( ( wasm_pages as usize ) * WASM_PAGE_SIZE ) . map_or ( core :: u32 :: MAX , | x | ( x / WASM_PAGE_SIZE ) as u32 ) }
Grows the heap by `wasm_pages` WebAssembly pages.
Grows the heap by ` wasm_pages ` WebAssembly pages .
&self
wasm_pages
u32
&self
wasm_pages
u32