summary refs log tree commit diff stats
path: root/tests/compile/tdatabind.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-07-17 08:44:04 +0200
committerAraq <rumpf_a@web.de>2012-07-17 08:44:04 +0200
commit19e57bf70dddecdd0834b06099c2fd5f8ee0ad9e (patch)
tree1236385442dc79b0fad9c915a5c5dc730aeea9da /tests/compile/tdatabind.nim
parent526be8a4cfe7bddb16d3dcf4354e6695d7030a62 (diff)
downloadNim-19e57bf70dddecdd0834b06099c2fd5f8ee0ad9e.tar.gz
made some tests green
Diffstat (limited to 'tests/compile/tdatabind.nim')
-rw-r--r--tests/compile/tdatabind.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compile/tdatabind.nim b/tests/compile/tdatabind.nim
index b2e870d93..afa8aa47b 100644
--- a/tests/compile/tdatabind.nim
+++ b/tests/compile/tdatabind.nim
@@ -5,8 +5,8 @@ discard """
 import events
 type
   TProperty*[T] = object of TObject
-    getProc: proc(property: TProperty[T]): T
-    setProc: proc(property: var TProperty[T], value: T)
+    getProc: proc(property: TProperty[T]): T {.nimcall.}
+    setProc: proc(property: var TProperty[T], value: T) {.nimcall.}
     value: T
     ValueChanged*: TEventHandler
     Binders: seq[TProperty[T]]