support for C++ code generation; importcpp and importobjc pragmas

This commit is contained in:
Araq
2011-08-07 21:02:09 +02:00
parent 7748dbc0b2
commit 5131b3cea4
29 changed files with 512 additions and 189 deletions

View File

@@ -1,3 +1,7 @@
discard """
cmd: "nimrod cc --hints:on --threads:on $# $#"
"""
type
TThreadFuncArgs[T] = object of TObject
a: proc(): T {.thread.}