fix system.nim documentations (#10168)
* system: fix nimGC_getStackBottom doc * system/helpers: avoid leaking docs to system
This commit is contained in:
parent
e9a192c36f
commit
be0a4d1342
2 changed files with 4 additions and 4 deletions
|
|
@ -2769,8 +2769,8 @@ when not defined(nimscript) and hasAlloc:
|
||||||
|
|
||||||
when not defined(JS) and not defined(nimscript) and hasAlloc:
|
when not defined(JS) and not defined(nimscript) and hasAlloc:
|
||||||
proc nimGC_setStackBottom*(theStackBottom: pointer) {.compilerRtl, noinline, benign.}
|
proc nimGC_setStackBottom*(theStackBottom: pointer) {.compilerRtl, noinline, benign.}
|
||||||
## Expands operating GC stack range to `theStackBottom`. Does nothing
|
## Expands operating GC stack range to `theStackBottom`. Does nothing
|
||||||
## if current stack bottom is already lower than `theStackBottom`.
|
## if current stack bottom is already lower than `theStackBottom`.
|
||||||
|
|
||||||
else:
|
else:
|
||||||
template GC_disable* =
|
template GC_disable* =
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
## helpers used system.nim and other modules, avoids code duplication while
|
# helpers used system.nim and other modules, avoids code duplication while
|
||||||
## also minimizing symbols exposed in system.nim
|
# also minimizing symbols exposed in system.nim
|
||||||
#
|
#
|
||||||
# TODO: move other things here that should not be exposed in system.nim
|
# TODO: move other things here that should not be exposed in system.nim
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue