diff options
| author | Mike Wey | 2012-05-20 17:08:47 +0200 |
|---|---|---|
| committer | Mike Wey | 2012-05-20 17:08:47 +0200 |
| commit | 21930f0002063d835af389a5477719fef1d6ae99 (patch) | |
| tree | 0ca22c48ebe4b3e33bb45d4c8e7a37c8e8167845 /dmagick/c/random.d | |
| parent | 60506cb210f51423ece9f2504b7e752d70396ffa (diff) | |
Update the c headers for ImageMagick 6.7.7.ImageMagick_6.7.7
Diffstat (limited to 'dmagick/c/random.d')
| -rw-r--r-- | dmagick/c/random.d | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dmagick/c/random.d b/dmagick/c/random.d index 4af5ffd..02dd4df 100644 --- a/dmagick/c/random.d +++ b/dmagick/c/random.d @@ -1,5 +1,7 @@ module dmagick.c.random; +import core.stdc.config; + import dmagick.c.magickString; import dmagick.c.magickType; @@ -17,8 +19,19 @@ extern(C) StringInfo* GetRandomKey(RandomInfo*, const size_t); + static if ( MagickLibVersion >= 0x677 ) + { + c_ulong GetRandomSecretKey(const(RandomInfo)*); + } + void RandomComponentTerminus(); void SeedPseudoRandomGenerator(const size_t); void SetRandomKey(RandomInfo*, const size_t, ubyte*); + + static if ( MagickLibVersion >= 0x677 ) + { + void SetRandomSecretKey(const c_ulong); + } + void SetRandomTrueRandom(const MagickBooleanType); } |
