• 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ónbe246d0517c6110f84a9b815c12661be6239c3fc (tree)
Tiempo2023-06-25 13:58:36
AutorMio <stigma@disr...>
CommiterMio

Log Message

[graphicsmagick] shear in -> const scope

Cambiar Resumen

Diferencia incremental

--- a/graphicsmagick_c/src/graphicsmagick_c/magick/shear.d
+++ b/graphicsmagick_c/src/graphicsmagick_c/magick/shear.d
@@ -1,11 +1,11 @@
11 /*
22 Copyright (C) 2003 GraphicsMagick Group
33 Copyright (C) 2002 ImageMagick Studio
4-
4+
55 This program is covered by multiple licenses, which are described in
66 Copyright.txt. You should have received a copy of Copyright.txt with this
77 package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
8-
8+
99 ImageMagick Image Shear Methods.
1010 */
1111 // Complete graphicsmagick_c wrapper for version 1.3.
@@ -18,17 +18,17 @@ version (GMagick_Static)
1818 {
1919 @system @nogc nothrow extern(C):
2020
21- Image* AffineTransformImage(in Image*, in AffineMatrix*, ExceptionInfo*);
22- Image* RotateImage(in Image*, in double, ExceptionInfo*);
23- Image* ShearImage(in Image*, in double, in double, ExceptionInfo*);
21+ Image* AffineTransformImage(const scope Image*, const scope AffineMatrix*, ExceptionInfo*);
22+ Image* RotateImage(const scope Image*, const scope double, ExceptionInfo*);
23+ Image* ShearImage(const scope Image*, const scope double, const scope double, ExceptionInfo*);
2424 }
2525 else
2626 {
2727 @system @nogc nothrow extern(C)
2828 {
29- alias mAffineTransformImage = Image* function(in Image*, in AffineMatrix*, ExceptionInfo*);
30- alias mRotateImage = Image* function(in Image*, in double, ExceptionInfo*);
31- alias mShearImage = Image* function(in Image*, in double, in double, ExceptionInfo*);
29+ alias mAffineTransformImage = Image* function(const scope Image*, const scope AffineMatrix*, ExceptionInfo*);
30+ alias mRotateImage = Image* function(const scope Image*, const scope double, ExceptionInfo*);
31+ alias mShearImage = Image* function(const scope Image*, const scope double, const scope double, ExceptionInfo*);
3232 }
3333
3434 __gshared