addQuitProc => addExitProc (#16765)
This commit is contained in:
parent
8f1f0bd1da
commit
18b983d7e3
7 changed files with 21 additions and 12 deletions
|
|
@ -1462,10 +1462,9 @@ proc addQuitProc*(quitProc: proc() {.noconv.}) {.
|
|||
## basis (that is, the last function registered is the first to be executed).
|
||||
## ``addQuitProc`` raises an EOutOfIndex exception if ``quitProc`` cannot be
|
||||
## registered.
|
||||
|
||||
# Support for addQuitProc() is done by Ansi C's facilities here.
|
||||
# In case of an unhandled exception the exit handlers should
|
||||
# not be called explicitly! The user may decide to do this manually though.
|
||||
# Support for addQuitProc() is done by Ansi C's facilities here.
|
||||
# In case of an unhandled exception the exit handlers should
|
||||
# not be called explicitly! The user may decide to do this manually though.
|
||||
|
||||
proc swap*[T](a, b: var T) {.magic: "Swap", noSideEffect.}
|
||||
## Swaps the values `a` and `b`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue