summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xlib/system.nim2
-rwxr-xr-xweb/news.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index ff0839b69..2eef4d408 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -817,7 +817,7 @@ const
     ## is the value that should be passed to ``quit`` to indicate
     ## failure.
 
-var program_result* {.exportc: "nim_$1".} = QuitSuccess
+var programResult* {.exportc: "nim_program_result".}: int
   ## modify this varialbe to specify the exit code of the program
   ## under normal circumstances. when the program is terminated
   ## prematurelly using ``quit``, this value is ignored.
diff --git a/web/news.txt b/web/news.txt
index a05d34520..9faaeaa92 100755
--- a/web/news.txt
+++ b/web/news.txt
@@ -132,7 +132,7 @@ Library Additions
 - Added ``strutils.unindent``, ``strutils.countLines``.
 - Added ``system.slurp`` for easy resource embedding.
 - Added ``system.running`` for threads.
-- Added ``system.program_result``.
+- Added ``system.programResult``.
 - Added ``xmltree.innerText``.
 - Added ``os.isAbsolute``, ``os.dynLibFormat``, ``os.isRootDir``,
   ``os.parentDirs``.