• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

D bindings to the GraphicsMagick library.


Commit MetaInfo

Revisión7272c79c16424ae7a6d0ce8feaa8644e49a7fe80 (tree)
Tiempo2023-06-25 13:52:57
AutorMio <stigma@disr...>
CommiterMio

Log Message

[graphicsmagick] monitor in -> const scope

Cambiar Resumen

Diferencia incremental

--- a/graphicsmagick_c/src/graphicsmagick_c/magick/monitor.d
+++ b/graphicsmagick_c/src/graphicsmagick_c/magick/monitor.d
@@ -2,11 +2,11 @@
22 Copyright (C) 2003 GraphicsMagick Group
33 Copyright (C) 2002 ImageMagick Studio
44 Copyright 1991-1999 E. I. du Pont de Nemours and Company
5-
5+
66 This program is covered by multiple licenses, which are described in
77 Copyright.txt. You should have received a copy of Copyright.txt with this
88 package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
9-
9+
1010 ImageMagick Progress Monitor Methods.
1111 */
1212 // Complete graphicsmagick_c wrapper for version 1.3.
@@ -18,8 +18,8 @@ import graphicsmagick_c.magick.api : MagickPassFail;
1818 import graphicsmagick_c.magick.error : ExceptionInfo;
1919 import graphicsmagick_c.magick.magick_types : magick_int64_t, magick_uint64_t;
2020
21-alias MonitorHandler = @nogc nothrow extern(C) MagickPassFail function(in char* text, in magick_int64_t quantum,
22- in magick_uint64_t span, ExceptionInfo* exception);
21+alias MonitorHandler = @nogc nothrow extern(C) MagickPassFail function(const scope char* text, const scope magick_int64_t quantum,
22+ const scope magick_uint64_t span, ExceptionInfo* exception);
2323
2424 version (GMagick_Static)
2525 {
@@ -27,9 +27,9 @@ version (GMagick_Static)
2727
2828 MonitorHandler SetMonitorHandler(MonitorHandler handler);
2929
30- MagickPassFail MagickMonitor(in char* text, in magick_int64_t quantum, in magick_uint64_t span,
30+ MagickPassFail MagickMonitor(const scope char* text, const scope magick_int64_t quantum, const scope magick_uint64_t span,
3131 ExceptionInfo* exception);
32- MagickPassFail MagickMonitorFormatted(in magick_int64_t quantum, in magick_uint64_t span,
32+ MagickPassFail MagickMonitorFormatted(const scope magick_int64_t quantum, const scope magick_uint64_t span,
3333 ExceptionInfo* exception, char* format...);
3434 }
3535 else
@@ -38,9 +38,9 @@ else
3838 {
3939 alias mSetMonitorHandler = MonitorHandler function(MonitorHandler handler);
4040
41- alias mMagickMonitor = MagickPassFail function(in char* text, in magick_int64_t quantum,
42- in magick_uint64_t span, ExceptionInfo* exception);
43- alias mMagickMonitorFormatted = MagickPassFail function(in magick_int64_t quantum, in magick_uint64_t span,
41+ alias mMagickMonitor = MagickPassFail function(const scope char* text, const scope magick_int64_t quantum,
42+ const scope magick_uint64_t span, ExceptionInfo* exception);
43+ alias mMagickMonitorFormatted = MagickPassFail function(const scope magick_int64_t quantum, const scope magick_uint64_t span,
4444 ExceptionInfo* exception, char* format...);
4545 }
4646
@@ -70,7 +70,7 @@ else
7070 }
7171 success = false;
7272 }
73-
73+
7474 MagickMonitor = cast(mMagickMonitor)dlsym(dlib, "MagickMonitor");
7575 if (null !is (errmsg = dlerror())) {
7676 debug(graphicsmagick_c)