blob: 3d7d79c7498f43af02a3fecb6930dc55ef0ab4a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
module dmagick.c.magickVersion;
import core.stdc.config;
import core.stdc.stdio;
/// Defines the version of ImageMagick where these headers are based on.
enum MagickLibVersion = 0x@MagickLibVersion@;
///ditto
enum MagickLibVersionText = "@MagickLibVersionText@";
/// The quantum depth used by MagickCore.
enum MagickQuantumDepth = @QuantumDepth@;
/// Defines if HDRI is enabled.
enum MagickHDRISupport = @HDRI@;
/*
* With ImageMagick 6.6.3 long and unsinged long were changed to
* ssize_t and size_t. This is only a problem for 64bits windows.
*/
static if (MagickLibVersion < 0x663 && c_ulong.sizeof != size_t.sizeof)
{
static assert(0, "Only ImageMagick version 6.6.3 and up are supported on your platform");
}
extern(C)
{
char* GetMagickHomeURL();
const(char)* GetMagickCopyright();
static if ( MagickLibVersion >= 0x681 )
{
const(char)* GetMagickDelegates();
}
const(char)* GetMagickFeatures();
const(char)* GetMagickPackageName();
const(char)* GetMagickQuantumDepth(size_t*);
const(char)* GetMagickQuantumRange(size_t*);
const(char)* GetMagickReleaseDate();
const(char)* GetMagickVersion(size_t*);
static if ( MagickLibVersion >= 0x681 )
{
void ListMagickVersion(FILE*);
}
}
|