about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/xmpp')
0 files changed, 0 insertions, 0 deletions
class='alt'>
ff02ce2d5 ^




3c9851848 ^

ff02ce2d5 ^






e6d17e627 ^

ff02ce2d5 ^




03724c295 ^
ff02ce2d5 ^

e6d17e627 ^
ff02ce2d5 ^


5e839d50b ^
ff02ce2d5 ^
5e839d50b ^
3005955d2 ^
ff02ce2d5 ^

e6d17e627 ^
ff02ce2d5 ^


e6d17e627 ^
ff02ce2d5 ^


bfbdb1f02 ^

a639824e5 ^




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
47
48
49
50
51
52
53

 
                                  
                                         




                                                   

                                                                        






                                                                            

                               




                                                               
                                                   

                            
                                                       


                                                                     
                         
                                
                       
                                  

                                  
                                                               


                                                                             
                         


                                       

                              




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

# Pragmas for RTL generation. Has to be an include, because user-defined
# pragmas cannot be exported.

# There are 3 different usages:
# 1) Ordinary imported code.
# 2) Imported from nimrtl.
#    -> defined(useNimRtl) or appType == "lib" and not defined(createNimRtl)
# 3) Exported into nimrtl.
#    -> appType == "lib" and defined(createNimRtl)
when not defined(nimNewShared):
  {.pragma: gcsafe.}

when defined(createNimRtl):
  when defined(useNimRtl): 
    {.error: "Cannot create and use nimrtl at the same time!".}
  elif appType != "lib":
    {.error: "nimrtl must be built as a library!".}

when defined(createNimRtl): 
  {.pragma: rtl, exportc: "nimrtl_$1", dynlib, gcsafe.}
  {.pragma: inl.}
  {.pragma: compilerRtl, compilerproc, exportc: "nimrtl_$1", dynlib.}
elif defined(useNimRtl):
  when defined(windows): 
    const nimrtl* = "nimrtl.dll"
  elif defined(macosx):
    const nimrtl* = "nimrtl.dylib"
  else: 
    const nimrtl* = "libnimrtl.so"
  {.pragma: rtl, importc: "nimrtl_$1", dynlib: nimrtl, gcsafe.}
  {.pragma: inl.}
  {.pragma: compilerRtl, compilerproc, importc: "nimrtl_$1", dynlib: nimrtl.}
else:
  {.pragma: rtl, gcsafe.}
  {.pragma: inl, inline.}
  {.pragma: compilerRtl, compilerproc.}

when not defined(nimsuperops):
  {.pragma: operator.}

when defined(nimlocks):
  {.pragma: benign, gcsafe, locks: 0.}
else:
  {.pragma: benign, gcsafe.}