@@ -61,11 +61,11 @@ struct huffman_tree *leafs[2]; uint16_t value; }; @interface OFDeflateStream () -- (void)OF_initDecompression; +- (void)of_initDecompression; @end #ifndef DEFLATE64 static const uint8_t numDistanceCodes = 30; static const uint8_t lengthCodes[29] = { @@ -324,11 +324,11 @@ [super dealloc]; } #endif -- (void)OF_initDecompression +- (void)of_initDecompression { _decompression = [self allocMemoryWithSize: sizeof(*_decompression)]; memset(_decompression, 0, sizeof(*_decompression)); /* 0-7 address the bit, 8 means fetch next byte */ @@ -350,11 +350,11 @@ size_t bytesWritten = 0; uint8_t *slidingWindow; uint16_t slidingWindowIndex; if (ivars == NULL) { - [self OF_initDecompression]; + [self of_initDecompression]; ivars = _decompression; } if (ivars->atEndOfStream) @throw [OFReadFailedException exceptionWithObject: self