mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-26 05:01:52 +00:00
Reintroduce builtin decorator so these can appear anywhere in stdlib again
Avoids wrapping an undocumented function within 'memory.size' for example.
This commit is contained in:
3
std/assembly/gc.ts
Normal file
3
std/assembly/gc.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export namespace gc {
|
||||
@builtin export declare function iterateRoots(fn: (ref: usize) => void): void;
|
||||
}
|
Reference in New Issue
Block a user