summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authorpatrick dw <algorithicimperative@gmail.com>2015-06-06 10:45:01 -0500
committerpatrick dw <algorithicimperative@gmail.com>2015-06-06 10:45:01 -0500
commit13163ff13f65fdde3d7af13496e99fb88917c99c (patch)
tree5600a62a3c40652508330f6fb81edb1b82c8b561 /lib/impure
parentca684da044ed42b4f357fba030fba8920f8497f0 (diff)
downloadNim-13163ff13f65fdde3d7af13496e99fb88917c99c.tar.gz
Reverted TZipFileStream (is going to be reference type)
Diffstat (limited to 'lib/impure')
-rw-r--r--lib/impure/zipfiles.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/impure/zipfiles.nim b/lib/impure/zipfiles.nim
index 56483c586..d8903f5c1 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].}
+    ref TZipFileStream ## a reader stream of a file within a zip archive
 
 proc fsClose(s: Stream) = zip_fclose(PZipFileStream(s).f)
 proc fsAtEnd(s: Stream): bool = PZipFileStream(s).atEnd