diff options
| author | Mike Wey | 2011-01-09 22:47:18 +0100 |
|---|---|---|
| committer | Mike Wey | 2011-01-09 22:47:18 +0100 |
| commit | e080979186e624ba7fed28ea9a76dfdf4feb635a (patch) | |
| tree | ccec2234fba81a86733f341cadb69ae5ce6ff84b /dmagick/c/exception.d | |
| parent | 0bd6744310e0b209f3c5911a4e68d453e867914a (diff) | |
change const for the funtion params
Diffstat (limited to 'dmagick/c/exception.d')
| -rw-r--r-- | dmagick/c/exception.d | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dmagick/c/exception.d b/dmagick/c/exception.d index 9236455..57bdb13 100644 --- a/dmagick/c/exception.d +++ b/dmagick/c/exception.d @@ -106,13 +106,13 @@ extern(C) signature; } - alias void function(const ExceptionType, const char*, const char*) ErrorHandler; - alias void function(const ExceptionType, const char*, const char*) FatalErrorHandler; - alias void function(const ExceptionType, const char*, const char*) WarningHandler; + alias void function(const ExceptionType, const(char)*, const(char)*) ErrorHandler; + alias void function(const ExceptionType, const(char)*, const(char)*) FatalErrorHandler; + alias void function(const ExceptionType, const(char)*, const(char)*) WarningHandler; char* GetExceptionMessage(const int); - const(char*) GetLocaleExceptionMessage(const ExceptionType, const char*); + const(char*) GetLocaleExceptionMessage(const ExceptionType, const(char)*); ErrorHandler SetErrorHandler(ErrorHandler); @@ -121,17 +121,17 @@ extern(C) FatalErrorHandler SetFatalErrorHandler(FatalErrorHandler); - MagickBooleanType ThrowException(ExceptionInfo*, const ExceptionType, const char*, const char*); - MagickBooleanType ThrowMagickException(ExceptionInfo*, const char*, const char*, const size_t, const ExceptionType, const char*, const char*, ...); - MagickBooleanType ThrowMagickExceptionList(ExceptionInfo*, const char*, const char*, const size_t, const ExceptionType, const char*, const char*, va_list); + MagickBooleanType ThrowException(ExceptionInfo*, const ExceptionType, const(char)*, const(char)*); + MagickBooleanType ThrowMagickException(ExceptionInfo*, const(char)*, const(char)*, const size_t, const ExceptionType, const(char)*, const(char)*, ...); + MagickBooleanType ThrowMagickExceptionList(ExceptionInfo*, const(char)*, const(char)*, const size_t, const ExceptionType, const(char)*, const(char)*, va_list); void CatchException(ExceptionInfo*); void ClearMagickException(ExceptionInfo*); void GetExceptionInfo(ExceptionInfo*); - void InheritException(ExceptionInfo*, const ExceptionInfo*); - void MagickError(const ExceptionType, const char*, const char*); - void MagickFatalError(const ExceptionType, const char*, const char*); - void MagickWarning(const ExceptionType, const char*, const char*); + void InheritException(ExceptionInfo*, const(ExceptionInfo)*); + void MagickError(const ExceptionType, const(char)*, const(char)*); + void MagickFatalError(const ExceptionType, const(char)*, const(char)*); + void MagickWarning(const ExceptionType, const(char)*, const(char)*); WarningHandler SetWarningHandler(WarningHandler); } |
