From 8d99753d6320489e4de8cf186415b0a7be8260b4 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 16 Jul 2012 23:00:57 +0200 Subject: preparations for making 'closure' the default calling convention for proc types --- compiler/lists.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/lists.nim') 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 -- cgit 1.4.1-2-gfad0