cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744)
This commit is contained in:
parent
8e474fbb57
commit
7e94420847
32 changed files with 79 additions and 79 deletions
|
|
@ -200,7 +200,7 @@ proc reprAux(result: var string, p: pointer, typ: PNimType,
|
|||
var fp: int
|
||||
{. emit: "`fp` = `p`;\n" .}
|
||||
add(result, reprStr(cast[string](p)))
|
||||
of tyCString:
|
||||
of tyCstring:
|
||||
var fp: cstring
|
||||
{. emit: "`fp` = `p`;\n" .}
|
||||
if fp.isNil:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue