gc:arc: support GC_ref/unref for ref T
This commit is contained in:
parent
eea0cb07cf
commit
25c724d38b
3 changed files with 16 additions and 5 deletions
|
|
@ -3269,7 +3269,7 @@ when not defined(nimscript) and hasAlloc:
|
|||
## Expands operating GC stack range to `theStackBottom`. Does nothing
|
||||
## if current stack bottom is already lower than `theStackBottom`.
|
||||
|
||||
else:
|
||||
elif defined(JS):
|
||||
template GC_disable* =
|
||||
{.warning: "GC_disable is a no-op in JavaScript".}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue