all repos — min @ 93bd34cadc31b95d41fc57d3ff7fb85659c4b900

A small but practical concatenative programming language.

Updated references to nim_miniz.
h3rald h3rald@h3rald.com
Fri, 21 Dec 2018 18:57:57 +0100
commit

93bd34cadc31b95d41fc57d3ff7fb85659c4b900

parent

d09f14619013d89c694d8083cb5f875b08313ef7

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M lib/min_sys.nimlib/min_sys.nim

@@ -13,7 +13,7 @@ ../core/utils,

../core/fileutils when not defined(lite): - import ../packages/nim-miniz/miniz + import ../packages/nim-miniz/src/nim_miniz proc unix(s: string): string = return s.replace("\\", "/")

@@ -212,13 +212,13 @@ def.symbol("unzip") do (i: In):

let vals = i.expect("'sym", "'sym") let dir = vals[0] let f = vals[1] - miniz.unzip(f.getString, dir.getString) + nim_miniz.unzip(f.getString, dir.getString) def.symbol("zip") do (i: In): let vals = i.expect("'sym", "quot") let file = vals[0] let files = vals[1] - miniz.zip(files.qVal.mapIt(it.getString), file.getString) + nim_miniz.zip(files.qVal.mapIt(it.getString), file.getString) def.finalize("sys")