summary refs log tree commit diff stats
path: root/web/nimrod.ini
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-02-20 01:00:17 +0100
committerAraq <rumpf_a@web.de>2013-02-20 01:00:17 +0100
commit45c9975e9c9fe063d68aa5eb6df0457ca9ac7457 (patch)
tree785e24a66b35765633cbaf15ad3766230b72d7be /web/nimrod.ini
parent1342798cc74bdaa59a8b2806dcc89df40dddb5c6 (diff)
downloadNim-45c9975e9c9fe063d68aa5eb6df0457ca9ac7457.tar.gz
better typeToString; fixes #340
Diffstat (limited to 'web/nimrod.ini')
0 files changed, 0 insertions, 0 deletions
pan class='oid'>c7fc519fa ^
e3fab4750 ^


09ab1703e ^
e3fab4750 ^
c7fc519fa ^








09ab1703e ^
7894f50a5 ^
52851b722 ^
c7fc519fa ^
7894f50a5 ^
c7fc519fa ^
e3fab4750 ^
c7fc519fa ^
74fe7a800 ^
ce6349092 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

 
                                  








                                                                




                                                               
                                                                            
                                            
 


                                                                
                                                                          
                                                       








                                                      
                                                                       
                                                               
 
                                         
                                                   
 
                                
 
                                                        


                                                                     
#
#
#            Nim's Runtime Library
#        (c) Copyright 2012 Andreas Rumpf
#
#    See the file "copying.txt", included in this
#    distribution, for details about the copyright.
#


# Bare-bones implementation of some things for embedded targets.

proc chckIndx(i, a, b: int): int {.inline, compilerproc.}
proc chckRange(i, a, b: int): int {.inline, compilerproc.}
proc chckRangeF(x, a, b: float): float {.inline, compilerproc.}
proc chckNil(p: pointer) {.inline, compilerproc.}

proc nimFrame(s: PFrame) {.compilerRtl, inl, exportc: "nimFrame".} = discard
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 Exception) {.compilerRtl, inl.} = discard
proc popCurrentException {.compilerRtl, inl.} = discard

# some platforms have native support for stack traces:
const
  nativeStackTraceSupported = false
  hasSomeStackTrace = false

proc quitOrDebug() {.inline.} =
  quit(1)

proc raiseException(e: ref Exception, ename: cstring) {.compilerRtl.} =
  sysFatal(ReraiseError, "exception handling is not available")

proc reraiseException() {.compilerRtl.} =
  sysFatal(ReraiseError, "no exception to reraise")

proc writeStackTrace() = discard

proc setControlCHook(hook: proc () {.noconv.}) = discard

proc closureIterSetupExc(e: ref Exception) {.compilerproc, inline.} =
  sysFatal(ReraiseError, "exception handling is not available")