diff options
author | Perelandric <algorithmicimperative@gmail.com> | 2015-05-26 14:45:51 -0500 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-06-04 13:18:41 +0200 |
commit | b0469c11e334e96cebe53cbe804b6a877831c85a (patch) | |
tree | 348b943d6a7c6be8f583d7a54e026895b65d68b0 | |
parent | 2124952db381b2cf8347552daadf4c5491c6ff7e (diff) | |
download | Nim-b0469c11e334e96cebe53cbe804b6a877831c85a.tar.gz |
Reverted TZipFileStream name change
-rw-r--r-- | lib/impure/zipfiles.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/impure/zipfiles.nim b/lib/impure/zipfiles.nim index 56483c586..d66d7d7f3 100644 --- a/lib/impure/zipfiles.nim +++ b/lib/impure/zipfiles.nim @@ -109,13 +109,12 @@ proc addFile*(z: var ZipArchive, dest: string, src: Stream) = # -------------- zip file stream --------------------------------------------- type - ZipFileStream = object of StreamObj + TZipFileStream = object of StreamObj f: PZipFile atEnd: bool PZipFileStream* = ref ZipFileStream ## a reader stream of a file within a zip archive -{.deprecated: [TZipFileStream: ZipFileStream].} proc fsClose(s: Stream) = zip_fclose(PZipFileStream(s).f) proc fsAtEnd(s: Stream): bool = PZipFileStream(s).atEnd |