diff options
author | Dmitry Atamanov <data-man@users.noreply.github.com> | 2018-07-07 22:03:22 +0300 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-07-07 21:03:22 +0200 |
commit | a6c3bbf01a144ee2d6d3ca5f8032c52877560972 (patch) | |
tree | ba29770b190a571abb5387b1da17aca34d716812 /lib/system.nim | |
parent | 88714e77d82e65b68da79bbff1b491e56f874a08 (diff) | |
download | Nim-a6c3bbf01a144ee2d6d3ca5f8032c52877560972.tar.gz |
Add proc toOpenArray[byte] for strings (#7820)
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index 32a88de64..d59551d54 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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 |