mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 08:53:39 +02:00
Fix GZlibCompressorFormat names
What used to be called RAW is really the zlib header format. There is a real "raw" format, so rename the default and add a RAW type.
This commit is contained in:
@@ -675,8 +675,9 @@ typedef enum {
|
||||
|
||||
/**
|
||||
* GZlibCompressorFormat:
|
||||
* @G_ZLIB_COMRESSOR_FORMAT_RAW: Raw zlib compression data
|
||||
* @G_ZLIB_COMRESSOR_FORMAT_ZLIB: deflate compression with zlib header
|
||||
* @G_ZLIB_COMRESSOR_FORMAT_GZIP: gzip file format
|
||||
* @G_ZLIB_COMRESSOR_FORMAT_RAW: deflate compression with no header
|
||||
*
|
||||
* Used to select the type of data format to use for #GZlibDecompressor
|
||||
* and #GZlibCompressor.
|
||||
@@ -684,8 +685,9 @@ typedef enum {
|
||||
* Since: 2.24
|
||||
*/
|
||||
typedef enum {
|
||||
G_ZLIB_COMPRESSOR_FORMAT_RAW,
|
||||
G_ZLIB_COMPRESSOR_FORMAT_GZIP
|
||||
G_ZLIB_COMPRESSOR_FORMAT_ZLIB,
|
||||
G_ZLIB_COMPRESSOR_FORMAT_GZIP,
|
||||
G_ZLIB_COMPRESSOR_FORMAT_RAW
|
||||
} GZlibCompressorFormat;
|
||||
|
||||
G_END_DECLS
|
||||
|
Reference in New Issue
Block a user