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
|
|
@ -281,7 +281,7 @@ when not defined(useNimRtl):
|
|||
of tyString:
|
||||
let sp = cast[ptr string](p)
|
||||
reprStrAux(result, sp[].cstring, sp[].len)
|
||||
of tyCString:
|
||||
of tyCstring:
|
||||
let cs = cast[ptr cstring](p)[]
|
||||
if cs.isNil: add result, "nil"
|
||||
else: reprStrAux(result, cs, cs.len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue