mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 09:51:33 +00:00
Program elements and resolve infrastructure; Stdlib ideas; Restructuring
This commit is contained in:
8
std/memory.d.ts
vendored
Normal file
8
std/memory.d.ts
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
/// <reference path="../assembly.d.ts" />
|
||||
|
||||
declare class Memory {
|
||||
static allocate(size: usize): usize;
|
||||
static free(ptr: usize): void;
|
||||
static copy(src: usize, dst: usize, count: usize): void;
|
||||
static compare(src: usize, dst: usize, count: usize): i32;
|
||||
}
|
Reference in New Issue
Block a user