From 0bd6744310e0b209f3c5911a4e68d453e867914a Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sun, 9 Jan 2011 20:52:03 +0100 Subject: change the constness of the return types --- dmagick/c/magic.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dmagick/c/magic.d') diff --git a/dmagick/c/magic.d b/dmagick/c/magic.d index 1157633..864a0bc 100644 --- a/dmagick/c/magic.d +++ b/dmagick/c/magic.d @@ -38,13 +38,13 @@ extern(C) char** GetMagicList(const char*, size_t*, ExceptionInfo*); - const(char*) GetMagicName(const MagicInfo*); + const(char)* GetMagicName(const MagicInfo*); MagickBooleanType ListMagicInfo(FILE*, ExceptionInfo*); MagickBooleanType MagicComponentGenesis(); - const(MagicInfo*) GetMagicInfo(const ubyte*, const size_t, ExceptionInfo*); - const(MagicInfo**) GetMagicInfoList(const char*, size_t*, ExceptionInfo*); + const(MagicInfo)* GetMagicInfo(const ubyte*, const size_t, ExceptionInfo*); + const(MagicInfo)** GetMagicInfoList(const char*, size_t*, ExceptionInfo*); void MagicComponentTerminus(); } -- cgit v1.2.3