[vala] zlib: Remove values from enums



commit c818fd2dbcc2a580633e70091c31f80946b93c97
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Nov 13 20:05:42 2010 -0800

    zlib: Remove values from enums

 vapi/zlib.vapi |   56 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 28 insertions(+), 28 deletions(-)
---
diff --git a/vapi/zlib.vapi b/vapi/zlib.vapi
index 53f10a0..d17a0cc 100644
--- a/vapi/zlib.vapi
+++ b/vapi/zlib.vapi
@@ -29,52 +29,52 @@ using GLib;
 namespace ZLib {
 	[CCode (cname="int", cprefix="Z_")]
 	public enum Flush {
-		NO_FLUSH = 0,
-		SYNC_FLUSH = 2,
-		FULL_FLUSH = 3,
-		FINISH = 4,
-		BLOCK = 5
+		NO_FLUSH,
+		SYNC_FLUSH,
+		FULL_FLUSH,
+		FINISH,
+		BLOCK
 	}
 	[CCode (cname="int", cprefix="Z_")]
 	public enum Status {
-		OK = 0,
-		STREAM_END = 1,
-		NEED_DICT = 2,
-		ERRNO = (-1),
-		STREAM_ERROR = (-2),
-		DATA_ERROR = (-3),
-		MEM_ERROR = (-4),
-		BUF_ERROR = (-5),
-		VERSION_ERROR = (-6)
+		OK,
+		STREAM_END,
+		NEED_DICT,
+		ERRNO,
+		STREAM_ERROR,
+		DATA_ERROR,
+		MEM_ERROR,
+		BUF_ERROR,
+		VERSION_ERROR
 	}
 	[CCode (cname="int", cprefix="Z_")]
 	public enum Level {
-		NO_COMPRESSION = 0,
-		BEST_SPEED = 1,
-		BEST_COMPRESSION = 9,
-		DEFAULT_COMPRESSION = (-1)
+		NO_COMPRESSION,
+		BEST_SPEED,
+		BEST_COMPRESSION,
+		DEFAULT_COMPRESSION
 	}
 	[CCode (cname="int", cprefix="Z_")]
 	public enum Strategy {
-		DEFAULT_STRATEGY = 0,
-		FILTERED = 1,
-		HUFFMAN_ONLY = 2,
-		RLE = 3,
-		FIXED = 4
+		DEFAULT_STRATEGY,
+		FILTERED,
+		HUFFMAN_ONLY,
+		RLE,
+		FIXED
 	}
 	[CCode (cname="int", cprefix="Z_")]
 	public enum Data {
-		BINARY = 0,
-		ASCII = 1,
-		UNKNOWN = 2
+		BINARY,
+		ASCII,
+		UNKNOWN
 	}
 	[CCode (cname="int", cprefix="Z_")]
 	public enum Algorithm {
-		DEFLATED = 8
+		DEFLATED
 	}
 	[CCode (cname="int", cprefix="Z_")]
 	public enum Initial {
-		NULL = 0
+		NULL
 	}
 	namespace VERSION {
 		[CCode (cname = "ZLIB_VERSION")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]