diff options
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); } |
