ext/RMagick/rmmain.c in rmagick-2.11.0 vs ext/RMagick/rmmain.c in rmagick-2.11.1
- old
+ new
@@ -1,6 +1,6 @@
-/* $Id: rmmain.c,v 1.298 2009/07/23 22:55:57 rmagick Exp $ */
+/* $Id: rmmain.c,v 1.299 2009/09/05 20:01:08 rmagick Exp $ */
/*============================================================================\
| Copyright (C) 2009 by Timothy P. Hunter
| Name: rmmain.c
| Author: Tim Hunter
| Purpose: Contains all module, class, method declarations.
@@ -1019,10 +1019,16 @@
// CompressionType constants
DEF_ENUM(CompressionType)
ENUMERATOR(UndefinedCompression)
ENUMERATOR(NoCompression)
+#if defined(HAVE_ENUM_B44COMPRESSION)
+ ENUMERATOR(B44Compression)
+#endif
+#if defined(HAVE_ENUM_B44ACOMPRESSION)
+ ENUMERATOR(B44ACompression)
+#endif
ENUMERATOR(BZipCompression)
#if defined(HAVE_ENUM_DXT1COMPRESSION)
ENUMERATOR(DXT1Compression)
#endif
#if defined(HAVE_ENUM_DXT3COMPRESSION)
@@ -1035,12 +1041,21 @@
ENUMERATOR(Group4Compression)
ENUMERATOR(JPEGCompression)
ENUMERATOR(JPEG2000Compression)
ENUMERATOR(LosslessJPEGCompression)
ENUMERATOR(LZWCompression)
+#if defined(HAVE_ENUM_PIZCOMPRESSION)
+ ENUMERATOR(PizCompression)
+#endif
+#if defined(HAVE_ENUM_PXR24COMPRESSION)
+ ENUMERATOR(Pxr24Compression)
+#endif
ENUMERATOR(RLECompression)
ENUMERATOR(ZipCompression)
+#if defined(HAVE_ENUM_ZIPSCOMPRESSION)
+ ENUMERATOR(ZipSCompression)
+#endif
END_ENUM
// DecorationType constants
DEF_ENUM(DecorationType)
ENUMERATOR(NoDecoration)
@@ -1621,10 +1636,10 @@
str = rb_str_new2(Q(RMAGICK_VERSION_STRING));
rb_obj_freeze(str);
rb_define_const(Module_Magick, "Version", str);
sprintf(long_version,
- "This is %s ($Date: 2009/07/23 22:55:57 $) Copyright (C) 2009 by Timothy P. Hunter\n"
+ "This is %s ($Date: 2009/09/05 20:01:08 $) Copyright (C) 2009 by Timothy P. Hunter\n"
"Built with %s\n"
"Built for %s\n"
"Web page: http://rmagick.rubyforge.org\n"
"Email: rmagick@rubyforge.org\n",
Q(RMAGICK_VERSION_STRING), mgk_version, Q(RUBY_VERSION_STRING));