summary refs log tree commit diff stats
path: root/lib/system/embedded.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-31 01:07:58 +0200
committerAraq <rumpf_a@web.de>2014-08-31 01:07:58 +0200
commit09ab1703e1bccfafe25460e1e7b9f332823bd4e9 (patch)
tree7c066e80a62c4535178477615629f5a8a7382afb /lib/system/embedded.nim
parentc9563d28a8ef3ef74826d4c211cac13301963dd5 (diff)
downloadNim-09ab1703e1bccfafe25460e1e7b9f332823bd4e9.tar.gz
fixes #1444
Diffstat (limited to 'lib/system/embedded.nim')
-rw-r--r--lib/system/embedded.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/embedded.nim b/lib/system/embedded.nim
index c6db9bca4..9bb25b8dd 100644
--- a/lib/system/embedded.nim
+++ b/lib/system/embedded.nim
@@ -21,7 +21,7 @@ proc popFrame {.compilerRtl, inl.} = discard
 proc setFrame(s: PFrame) {.compilerRtl, inl.} = discard
 proc pushSafePoint(s: PSafePoint) {.compilerRtl, inl.} = discard
 proc popSafePoint {.compilerRtl, inl.} = discard
-proc pushCurrentException(e: ref E_Base) {.compilerRtl, inl.} = discard
+proc pushCurrentException(e: ref Exception) {.compilerRtl, inl.} = discard
 proc popCurrentException {.compilerRtl, inl.} = discard
 
 # some platforms have native support for stack traces:
@@ -32,7 +32,7 @@ const
 proc quitOrDebug() {.inline.} =
   quit(1)
 
-proc raiseException(e: ref E_Base, ename: CString) {.compilerRtl.} =
+proc raiseException(e: ref Exception, ename: cstring) {.compilerRtl.} =
   sysFatal(ENoExceptionToReraise, "exception handling is not available")
 
 proc reraiseException() {.compilerRtl.} =