mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-28 22:21:50 +00:00
directize
This commit is contained in:
@ -29,3 +29,9 @@ function __ref_link(ref: usize, parentRef: usize): void {
|
||||
function __ref_unlink(ref: usize, parentRef: usize): void {
|
||||
if (TRACE) trace("dummy.unlink", 2, ref, parentRef);
|
||||
}
|
||||
|
||||
// @ts-ignore: decorator
|
||||
@global @unsafe
|
||||
function __ref_mark(ref: usize): void {
|
||||
if (TRACE) trace("dummy.mark", 1, ref);
|
||||
}
|
||||
|
Reference in New Issue
Block a user