more renamings
This commit is contained in:
parent
46bd6787b8
commit
947ecd1257
2 changed files with 3 additions and 3 deletions
|
|
@ -1423,8 +1423,8 @@ proc toBiggestInt*(f: BiggestFloat): BiggestInt {.noSideEffect.} =
|
||||||
## Same as `toInt <#toInt,float>`_ but for ``BiggestFloat`` to ``BiggestInt``.
|
## Same as `toInt <#toInt,float>`_ but for ``BiggestFloat`` to ``BiggestInt``.
|
||||||
if f >= 0: BiggestInt(f+0.5) else: BiggestInt(f-0.5)
|
if f >= 0: BiggestInt(f+0.5) else: BiggestInt(f-0.5)
|
||||||
|
|
||||||
proc addQuitProc*(quitProc: proc() {.noconv.}) {.
|
proc addQuitProc*(quitProc: proc() {.noconv.}) {.
|
||||||
importc: "atexit", header: "<stdlib.h>", deprecated: "use exitprocs.addExitProc".}
|
importc: "atexit", header: "<stdlib.h>", deprecated: "use exitprocs.addExitProc".}
|
||||||
## Adds/registers a quit procedure.
|
## Adds/registers a quit procedure.
|
||||||
##
|
##
|
||||||
## Each call to ``addQuitProc`` registers another quit procedure. Up to 30
|
## Each call to ``addQuitProc`` registers another quit procedure. Up to 30
|
||||||
|
|
@ -1752,7 +1752,7 @@ when notJSnotNims:
|
||||||
|
|
||||||
|
|
||||||
when defined(nimV2):
|
when defined(nimV2):
|
||||||
include system/refs_v2
|
include system/arc
|
||||||
|
|
||||||
import system/assertions
|
import system/assertions
|
||||||
export assertions
|
export assertions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue