Initial import

This commit is contained in:
Andreas Rumpf 2008-06-22 16:14:11 +02:00
commit 405b86068e
324 changed files with 163599 additions and 0 deletions

8
tests/tinvwhen.nim Executable file
View file

@ -0,0 +1,8 @@
# This was parsed even though it should not!
proc chdir(path: CString): cint {.import: "chdir", header: "dirHeader".}
proc getcwd(buf: CString, buflen: cint): CString
when defined(unix): {.import: "getcwd", header: "<unistd.h>".} #ERROR
elif defined(windows): {.import: "getcwd", header: "<direct.h>"}
else: {.error: "os library not ported to your OS. Please help!".}