Reverted TZipFileStream name change
This commit is contained in:
parent
2124952db3
commit
b0469c11e3
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue