From 21930f0002063d835af389a5477719fef1d6ae99 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sun, 20 May 2012 17:08:47 +0200 Subject: Update the c headers for ImageMagick 6.7.7. --- dmagick/c/random.d | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'dmagick/c/random.d') 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); } -- cgit v1.2.3