Change FILE* to File
This commit is contained in:
parent
f2870d8ba6
commit
00b66bf92c
4 changed files with 5 additions and 9 deletions
|
|
@ -14,6 +14,8 @@ proc getPtrType*(str: string): string =
|
|||
"cstring"
|
||||
of "object":
|
||||
"pointer"
|
||||
of "FILE":
|
||||
"File"
|
||||
else:
|
||||
str
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ proc getPtrType(str: string): string =
|
|||
"pointer"
|
||||
of "ptr ptr object":
|
||||
"ptr pointer"
|
||||
of "ptr FILE":
|
||||
"File"
|
||||
else:
|
||||
str
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
#[
|
||||
pending https://github.com/nim-lang/Nim/pull/10530
|
||||
note: nimble init installs something like this (maybe without src in this case)
|
||||
switch("path", "$projectDir/../src")
|
||||
but it doesn't seem robust in case tests have subdirs, so, changing to ../ seems better
|
||||
]#
|
||||
switch("path", "..")
|
||||
|
|
@ -1,2 +1 @@
|
|||
# TODO: pending https://github.com/nimterop/nimterop/issues/110 remove in favor of config.nims
|
||||
--path:".."
|
||||
--path:".."
|
||||
Loading…
Add table
Add a link
Reference in a new issue