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:
dcodeIO
2018-07-19 02:10:04 +02:00
parent 96411c7398
commit 26e46f6f86
80 changed files with 6889 additions and 7157 deletions

3
std/assembly/gc.ts Normal file
View File

@ -0,0 +1,3 @@
export namespace gc {
@builtin export declare function iterateRoots(fn: (ref: usize) => void): void;
}