diff options
author | Araq <rumpf_a@web.de> | 2014-01-25 14:20:40 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-01-25 14:20:40 +0100 |
commit | 869e7d93e07b77f245abb58874234f4cb17445de (patch) | |
tree | d7f2a505f36751a57e5e67f8748b38c08380dfce /lib/system | |
parent | de538deb7af602130c805661b49d976ab9493613 (diff) | |
download | Nim-869e7d93e07b77f245abb58874234f4cb17445de.tar.gz |
nativeStackTrace might work again
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/excpt.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 1964e4d3d..a3f6669d4 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -11,7 +11,7 @@ # use the heap (and nor exceptions) do not include the GC or memory allocator. var - errorMessageWriter*: (proc(msg: string): void {.tags: [FWriteIO].}) + errorMessageWriter*: (proc(msg: string) {.tags: [FWriteIO].}) ## Function that will be called ## instead of stdmsg.write when printing stacktrace. ## Unstable API. @@ -80,9 +80,9 @@ when defined(nativeStacktrace) and nativeStackTraceSupported: type TDl_info {.importc: "Dl_info", header: "<dlfcn.h>", final, pure.} = object - dli_fname: CString + dli_fname: cstring dli_fbase: pointer - dli_sname: CString + dli_sname: cstring dli_saddr: pointer proc backtrace(symbols: ptr pointer, size: int): int {. |