diff options
Diffstat (limited to 'dmagick/c/option.d')
| -rw-r--r-- | dmagick/c/option.d | 49 |
1 files changed, 36 insertions, 13 deletions
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 |
