mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-16 18:31:23 +00:00
Improved code format
This commit is contained in:
4
lib/emscripten/src/env/mod.rs
vendored
4
lib/emscripten/src/env/mod.rs
vendored
@ -31,9 +31,7 @@ pub fn call_malloc(ctx: &mut Ctx, size: u32) -> u32 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn call_malloc_with_cast<T: Copy, Ty>(ctx: &mut Ctx, size: u32) -> WasmPtr<T, Ty> {
|
pub fn call_malloc_with_cast<T: Copy, Ty>(ctx: &mut Ctx, size: u32) -> WasmPtr<T, Ty> {
|
||||||
WasmPtr::new(
|
WasmPtr::new(call_malloc(ctx, size))
|
||||||
call_malloc(ctx, size),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn call_memalign(ctx: &mut Ctx, alignment: u32, size: u32) -> u32 {
|
pub fn call_memalign(ctx: &mut Ctx, alignment: u32, size: u32) -> u32 {
|
||||||
|
Reference in New Issue
Block a user