summaryrefslogtreecommitdiff
path: root/dmagick/c/magic.d
diff options
context:
space:
mode:
authorMike Wey2011-01-09 20:52:03 +0100
committerMike Wey2011-01-09 20:52:03 +0100
commit0bd6744310e0b209f3c5911a4e68d453e867914a (patch)
treea916a4d8151decbb068a6e002049f8ab32550e2c /dmagick/c/magic.d
parentcbac78bbec726017355cb455a776f193e7fc3022 (diff)
change the constness of the return types
Diffstat (limited to 'dmagick/c/magic.d')
-rw-r--r--dmagick/c/magic.d6
1 files changed, 3 insertions, 3 deletions
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();
}