version 0.7.0
This commit is contained in:
parent
972c510861
commit
8b2a9401a1
185 changed files with 21451 additions and 24296 deletions
|
|
@ -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!".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue