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:
alaviss
2019-01-04 21:13:07 +07:00
committed by narimiran
parent 81c9bee285
commit 5499ec084c
2 changed files with 4 additions and 4 deletions

View File

@@ -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* =

View File

@@ -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