summary refs log tree commit diff stats
path: root/compiler/lists.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/lists.nim')
-rwxr-xr-xcompiler/lists.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/lists.nim b/compiler/lists.nim
index 6a1f6c650..1998581ce 100755
--- a/compiler/lists.nim
+++ b/compiler/lists.nim
@@ -22,7 +22,7 @@ type
     head*, tail*: PListEntry
     Counter*: int
 
-  TCompareProc* = proc (entry: PListEntry, closure: Pointer): bool
+  TCompareProc* = proc (entry: PListEntry, closure: Pointer): bool {.nimcall.}
 
 proc InitLinkedList*(list: var TLinkedList) = 
   list.Counter = 0