GH-1227 renam GZip functions to not collide with zlib macros
This commit is contained in:
parent
e38cc1d480
commit
dd8eacee1b
5 changed files with 10 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
#include <zlib.h>
|
||||
#include <QByteArray>
|
||||
|
||||
bool GZip::decompress(const QByteArray &compressedBytes, QByteArray &uncompressedBytes)
|
||||
bool GZip::unzip(const QByteArray &compressedBytes, QByteArray &uncompressedBytes)
|
||||
{
|
||||
if (compressedBytes.size() == 0)
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ bool GZip::decompress(const QByteArray &compressedBytes, QByteArray &uncompresse
|
|||
return true;
|
||||
}
|
||||
|
||||
bool GZip::compress(const QByteArray &uncompressedBytes, QByteArray &compressedBytes)
|
||||
bool GZip::zip(const QByteArray &uncompressedBytes, QByteArray &compressedBytes)
|
||||
{
|
||||
if (uncompressedBytes.size() == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue