summary refs log tree commit diff stats
path: root/tests/rodfiles
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-08-16 20:04:27 +0200
committerAraq <rumpf_a@web.de>2016-08-16 20:04:27 +0200
commita13cb26c4084d83df1d4627e5b842c050ed69177 (patch)
tree87d439fcb03c2c2bcf60e895be033028ca646e9f /tests/rodfiles
parent8fca04027fe03109657b753b95ded86d2f65e6f3 (diff)
downloadNim-a13cb26c4084d83df1d4627e5b842c050ed69177.tar.gz
next steps in getting symbol files to work again
Diffstat (limited to 'tests/rodfiles')
-rw-r--r--tests/rodfiles/gtkex1.nim6
-rw-r--r--tests/rodfiles/gtkex2.nim6
-rw-r--r--tests/rodfiles/int2bool.nim1
3 files changed, 6 insertions, 7 deletions
diff --git a/tests/rodfiles/gtkex1.nim b/tests/rodfiles/gtkex1.nim
index 156ba5322..50779cb9e 100644
--- a/tests/rodfiles/gtkex1.nim
+++ b/tests/rodfiles/gtkex1.nim
@@ -1,12 +1,12 @@
 import
   cairo, glib2, gtk2
 
-proc destroy(widget: pWidget, data: pgpointer) {.cdecl.} =
+proc destroy(widget: PWidget, data: Pgpointer) {.cdecl.} =
   main_quit()
 
 var
-  window: pWidget
-nimrod_init()
+  window: PWidget
+nim_init()
 window = window_new(WINDOW_TOPLEVEL)
 discard signal_connect(window, "destroy",
                        SIGNAL_FUNC(gtkex1.destroy), nil)
diff --git a/tests/rodfiles/gtkex2.nim b/tests/rodfiles/gtkex2.nim
index 70926bd50..0949e4872 100644
--- a/tests/rodfiles/gtkex2.nim
+++ b/tests/rodfiles/gtkex2.nim
@@ -2,17 +2,17 @@
 import
   glib2, gtk2
 
-proc destroy(widget: pWidget, data: pgpointer){.cdecl.} =
+proc destroy(widget: PWidget, data: Pgpointer){.cdecl.} =
   main_quit()
 
 var
   window: PWidget
   button: PWidget
 
-nimrod_init()
+nim_init()
 window = window_new(WINDOW_TOPLEVEL)
 button = button_new("Click me")
-set_border_width(PContainer(Window), 5)
+set_border_width(PContainer(window), 5)
 add(PContainer(window), button)
 discard signal_connect(window, "destroy",
                            SIGNAL_FUNC(gtkex2.destroy), nil)
diff --git a/tests/rodfiles/int2bool.nim b/tests/rodfiles/int2bool.nim
index 0f6fd14e6..bb0682844 100644
--- a/tests/rodfiles/int2bool.nim
+++ b/tests/rodfiles/int2bool.nim
@@ -2,7 +2,6 @@
 {.overflowchecks: on.}
 
 converter uglyToBool*(x: int): bool =
-  {.Breakpoint.}
   result = x != 0