module std/heap; pub fun alloc(size: u64) i32 { ret 10; } /* fun alloc(size: u64) { // TODO } fun new(_struct: Struct) { // TODO } */ /* fun memset(addr: &u8, count: u64, value: u8) { let i = 0; while (i < count) { addr[i] = value; i += 1; } } struct Array { ptr: &T; ([])(index: u64) { } } */