Add proc toOpenArray[byte] for strings (#7820)
This commit is contained in:
parent
88714e77d8
commit
a6c3bbf01a
2 changed files with 18 additions and 1 deletions
|
|
@ -4164,7 +4164,8 @@ when not defined(js):
|
|||
magic: "Slice".}
|
||||
proc toOpenArray*(x: string; first, last: int): openarray[char] {.
|
||||
magic: "Slice".}
|
||||
|
||||
proc toOpenArrayByte*(x: string; first, last: int): openarray[byte] {.
|
||||
magic: "Slice".}
|
||||
|
||||
type
|
||||
ForLoopStmt* {.compilerProc.} = object ## special type that marks a macro
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue