From 651b1a2c0486cbba412b287c3c67a5b78c47c954 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Tue, 2 Jul 2013 22:59:50 +0200 Subject: Update the headers for ImageMagick 6.8.6. --- dmagick/c/option.d | 49 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 36 insertions(+), 13 deletions(-) (limited to 'dmagick/c/option.d') diff --git a/dmagick/c/option.d b/dmagick/c/option.d index 9977f16..a9de0e5 100644 --- a/dmagick/c/option.d +++ b/dmagick/c/option.d @@ -130,20 +130,43 @@ extern(C) return options; }()); - enum ValidateType + static if ( MagickLibVersion >= 0x686 ) { - UndefinedValidate, - NoValidate = 0x00000, - CompareValidate = 0x00001, - CompositeValidate = 0x00002, - ConvertValidate = 0x00004, - FormatsInMemoryValidate = 0x00008, - FormatsOnDiskValidate = 0x00010, - IdentifyValidate = 0x00020, - ImportExportValidate = 0x00040, - MontageValidate = 0x00080, - StreamValidate = 0x00100, - AllValidate = 0x7fffffff + enum ValidateType + { + UndefinedValidate, + NoValidate = 0x00000, + ColorspaceValidate = 0x00001, + CompareValidate = 0x00002, + CompositeValidate = 0x00004, + ConvertValidate = 0x00008, + FormatsDiskValidate = 0x00010, + FormatsMapValidate = 0x00020, + FormatsMemoryValidate = 0x00040, + IdentifyValidate = 0x00080, + ImportExportValidate = 0x00100, + MontageValidate = 0x00200, + StreamValidate = 0x00400, + AllValidate = 0x7fffffff + } + } + else + { + enum ValidateType + { + UndefinedValidate, + NoValidate = 0x00000, + CompareValidate = 0x00001, + CompositeValidate = 0x00002, + ConvertValidate = 0x00004, + FormatsInMemoryValidate = 0x00008, + FormatsOnDiskValidate = 0x00010, + IdentifyValidate = 0x00020, + ImportExportValidate = 0x00040, + MontageValidate = 0x00080, + StreamValidate = 0x00100, + AllValidate = 0x7fffffff + } } enum CommandOptionFlags -- cgit v1.2.3