mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 15:32:16 +00:00
10 lines
297 B
JavaScript
10 lines
297 B
JavaScript
|
var globalScope = typeof window !== "undefined" && window || typeof global !== "undefined" && global || self;
|
||
|
|
||
|
globalScope["Heap"] = {
|
||
|
allocate: function() { throw new Error("not implemented"); },
|
||
|
dispose: function() { throw new Error("not implemented"); },
|
||
|
used: 0,
|
||
|
free: 0,
|
||
|
size: 0
|
||
|
};
|