summary refs log tree commit diff stats
path: root/tests/compile/tdatabind.nim
diff options
context:
space:
mode:
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]]