diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-01-29 21:31:15 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-01-29 21:31:15 +0100 |
commit | b35b8d1749335527a7cebea9d1034ecdd83237a5 (patch) | |
tree | 1129ab2aa2b0a86f328183fde6e9949629656b41 /src/StringCompression.h | |
parent | Added line endings for *nix (diff) | |
parent | Merge pull request #599 from tonibm19/master (diff) | |
download | cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.gz cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.bz2 cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.lz cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.xz cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.tar.zst cuberite-b35b8d1749335527a7cebea9d1034ecdd83237a5.zip |
Diffstat (limited to 'src/StringCompression.h')
-rw-r--r-- | src/StringCompression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringCompression.h b/src/StringCompression.h index 459e8f568..3f4e12d2d 100644 --- a/src/StringCompression.h +++ b/src/StringCompression.h @@ -10,7 +10,7 @@ /// Compresses a_Data into a_Compressed using ZLIB; returns Z_XXX error constants same as zlib's compress2() -extern int CompressString(const char * a_Data, int a_Length, AString & a_Compressed); +extern int CompressString(const char * a_Data, int a_Length, AString & a_Compressed, int a_Factor); /// Uncompresses a_Data into a_Uncompressed; returns Z_XXX error constants same as zlib's decompress() extern int UncompressString(const char * a_Data, int a_Length, AString & a_Uncompressed, int a_UncompressedSize); |