summary refs log tree commit diff stats
path: root/tests/macros/tvtable.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tvtable.nim')
-rw-r--r--tests/macros/tvtable.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/macros/tvtable.nim b/tests/macros/tvtable.nim
index 51894618c..3e3b9c0e6 100644
--- a/tests/macros/tvtable.nim
+++ b/tests/macros/tvtable.nim
@@ -11,8 +11,8 @@ OBJ 2 bar
 
 type
   # these are the signatures of the virtual procs for each type
-  fooProc[T] = proc (o: var T): int
-  barProc[T] = proc (o: var T)
+  fooProc[T] = proc (o: var T): int {.nimcall.}
+  barProc[T] = proc (o: var T) {.nimcall.}
 
   # an untyped table to store the proc pointers
   # it's also possible to use a strongly typed tuple here