version 0.7.0

This commit is contained in:
Andreas Rumpf 2008-11-16 22:08:15 +01:00
commit 8b2a9401a1
185 changed files with 21451 additions and 24296 deletions

View file

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