mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
fix system.nim documentations (#10168)
* system: fix nimGC_getStackBottom doc
* system/helpers: avoid leaking docs to system
(cherry picked from commit be0a4d1342)
This commit is contained in:
@@ -2712,8 +2712,8 @@ when not defined(nimscript) and hasAlloc:
|
||||
|
||||
when not defined(JS) and not defined(nimscript) and hasAlloc:
|
||||
proc nimGC_setStackBottom*(theStackBottom: pointer) {.compilerRtl, noinline, benign.}
|
||||
## Expands operating GC stack range to `theStackBottom`. Does nothing
|
||||
## if current stack bottom is already lower than `theStackBottom`.
|
||||
## Expands operating GC stack range to `theStackBottom`. Does nothing
|
||||
## if current stack bottom is already lower than `theStackBottom`.
|
||||
|
||||
else:
|
||||
template GC_disable* =
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
## helpers used system.nim and other modules, avoids code duplication while
|
||||
## also minimizing symbols exposed in system.nim
|
||||
# helpers used system.nim and other modules, avoids code duplication while
|
||||
# also minimizing symbols exposed in system.nim
|
||||
#
|
||||
# TODO: move other things here that should not be exposed in system.nim
|
||||
|
||||
|
||||
Reference in New Issue
Block a user