lib/system: Fix programResult documentation (#7307)
This commit is contained in:
parent
10cd89eba9
commit
566cec74b6
1 changed files with 3 additions and 3 deletions
|
|
@ -1461,9 +1461,9 @@ when defined(nodejs):
|
||||||
programResult = 0
|
programResult = 0
|
||||||
else:
|
else:
|
||||||
var programResult* {.exportc: "nim_program_result".}: int
|
var programResult* {.exportc: "nim_program_result".}: int
|
||||||
## modify this variable to specify the exit code of the program
|
## modify this variable to specify the exit code of the program
|
||||||
## under normal circumstances. When the program is terminated
|
## under normal circumstances. When the program is terminated
|
||||||
## prematurely using ``quit``, this value is ignored.
|
## prematurely using ``quit``, this value is ignored.
|
||||||
|
|
||||||
when defined(nimdoc):
|
when defined(nimdoc):
|
||||||
proc quit*(errorcode: int = QuitSuccess) {.magic: "Exit", noreturn.}
|
proc quit*(errorcode: int = QuitSuccess) {.magic: "Exit", noreturn.}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue