preparations for making 'closure' the default calling convention for proc types

This commit is contained in:
Araq 2012-07-16 23:00:57 +02:00
commit 8d99753d63
36 changed files with 117 additions and 102 deletions

View file

@ -62,7 +62,7 @@ type # This should be he same as ast.TTypeKind
base: ptr TNimType
node: ptr TNimNode # valid for tyRecord, tyObject, tyTuple, tyEnum
finalizer: pointer # the finalizer for the type
marker: proc (p: pointer, op: int) # marker proc for GC
marker: proc (p: pointer, op: int) {.nimcall.} # marker proc for GC
PNimType = ptr TNimType
# node.len may be the ``first`` element of a set