From 064417fc5a6236e76d959a1a0fb43f68ab099d33 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 9 Jan 2011 14:52:15 +0100 Subject: bugfix: floating point precision; added strutils.formatFloat --- lib/system/ansi_c.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/system') diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim index e9300949b..362b73297 100755 --- a/lib/system/ansi_c.nim +++ b/lib/system/ansi_c.nim @@ -1,7 +1,7 @@ # # # Nimrod's Runtime Library -# (c) Copyright 2009 Andreas Rumpf +# (c) Copyright 2011 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. @@ -34,7 +34,8 @@ var c_stdout {.importc: "stdout", noDecl.}: C_TextFileStar c_stderr {.importc: "stderr", noDecl.}: C_TextFileStar -var # constants faked as variables: +# constants faked as variables: +var SIGINT {.importc: "SIGINT", nodecl.}: cint SIGSEGV {.importc: "SIGSEGV", nodecl.}: cint SIGABRT {.importc: "SIGABRT", nodecl.}: cint -- cgit 1.4.1-2-gfad0