Replace double backticks with single backticks - Part 2 out of ~6 (#17206)
This commit is contained in:
parent
ac8166ab3d
commit
82d8e9bff3
10 changed files with 136 additions and 136 deletions
|
|
@ -407,14 +407,14 @@ proc GC_runOrc* =
|
|||
collectCycles()
|
||||
|
||||
proc GC_enableOrc*() =
|
||||
## Enables the cycle collector subsystem of ``--gc:orc``. This is a ``--gc:orc``
|
||||
## specific API. Check with ``when defined(gcOrc)`` for its existence.
|
||||
## Enables the cycle collector subsystem of `--gc:orc`. This is a `--gc:orc`
|
||||
## specific API. Check with `when defined(gcOrc)` for its existence.
|
||||
when not defined(nimStressOrc):
|
||||
rootsThreshold = defaultThreshold
|
||||
|
||||
proc GC_disableOrc*() =
|
||||
## Disables the cycle collector subsystem of ``--gc:orc``. This is a ``--gc:orc``
|
||||
## specific API. Check with ``when defined(gcOrc)`` for its existence.
|
||||
## Disables the cycle collector subsystem of `--gc:orc`. This is a `--gc:orc`
|
||||
## specific API. Check with `when defined(gcOrc)` for its existence.
|
||||
when not defined(nimStressOrc):
|
||||
rootsThreshold = high(int)
|
||||
|
||||
|
|
@ -424,16 +424,16 @@ proc GC_partialCollect*(limit: int) =
|
|||
partialCollect(limit)
|
||||
|
||||
proc GC_fullCollect* =
|
||||
## Forces a full garbage collection pass. With ``--gc:orc`` triggers the cycle
|
||||
## collector. This is an alias for ``GC_runOrc``.
|
||||
## Forces a full garbage collection pass. With `--gc:orc` triggers the cycle
|
||||
## collector. This is an alias for `GC_runOrc`.
|
||||
collectCycles()
|
||||
|
||||
proc GC_enableMarkAndSweep*() =
|
||||
## For ``--gc:orc`` an alias for ``GC_enableOrc``.
|
||||
## For `--gc:orc` an alias for `GC_enableOrc`.
|
||||
GC_enableOrc()
|
||||
|
||||
proc GC_disableMarkAndSweep*() =
|
||||
## For ``--gc:orc`` an alias for ``GC_disableOrc``.
|
||||
## For `--gc:orc` an alias for `GC_disableOrc`.
|
||||
GC_disableOrc()
|
||||
|
||||
when optimizedOrc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue