Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Compress/BZip2/BZip2Decoder.h')
-rwxr-xr-xCPP/7zip/Compress/BZip2/BZip2Decoder.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/CPP/7zip/Compress/BZip2/BZip2Decoder.h b/CPP/7zip/Compress/BZip2/BZip2Decoder.h
index f7a1c6bb..d38ababe 100755
--- a/CPP/7zip/Compress/BZip2/BZip2Decoder.h
+++ b/CPP/7zip/Compress/BZip2/BZip2Decoder.h
@@ -53,6 +53,12 @@ struct CState
void FinishStream();
void ThreadFunc();
+ HRes Create()
+ {
+ RINOK(StreamWasFinishedEvent.CreateIfNotCreated());
+ RINOK(WaitingWasStartedEvent.CreateIfNotCreated());
+ return CanWriteEvent.CreateIfNotCreated();
+ }
#endif
CState(): Counters(0) {}
@@ -125,7 +131,7 @@ public:
UInt32 BlockSizeMax;
CDecoder();
~CDecoder();
- bool Create();
+ HRes Create();
void Free();
#else