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

Log Message

[graphicsmagick] gem in -> const scope

Cambiar Resumen

Diferencia incremental

--- a/graphicsmagick_c/src/graphicsmagick_c/magick/gem.d
+++ b/graphicsmagick_c/src/graphicsmagick_c/magick/gem.d
@@ -21,67 +21,67 @@ version (GMagick_Static)
2121 {
2222 @system @nogc nothrow extern (C):
2323
24- double ExpandAffine(in AffineMatrix*);
25- double GenerateDifferentialNoise(in Quantum pixel, in NoiseType noise_type,
24+ double ExpandAffine(const scope AffineMatrix*);
25+ double GenerateDifferentialNoise(const scope Quantum pixel, const scope NoiseType noise_type,
2626 uint* seed);
2727
28- int GetOptimalKernelWidth(in double, in double);
29- int GetOptimalKernelWidth1D(in double, in double);
30- int GetOptimalKernelWidth2D(in double, in double);
28+ int GetOptimalKernelWidth(const scope double, const scope double);
29+ int GetOptimalKernelWidth1D(const scope double, const scope double);
30+ int GetOptimalKernelWidth2D(const scope double, const scope double);
3131
32- PixelPacket InterpolateColor(in Image* image, in double x_offset,
33- in double y_offset, ExceptionInfo* exception);
32+ PixelPacket InterpolateColor(const scope Image* image, const scope double x_offset,
33+ const scope double y_offset, ExceptionInfo* exception);
3434
35- Quantum GenerateNoise(in Quantum, in NoiseType);
35+ Quantum GenerateNoise(const scope Quantum, const scope NoiseType);
3636
37- void Contrast(in int, Quantum*, Quantum*, Quantum*);
38- void HSLTransform(in double, in double, in double, Quantum*, Quantum*,
37+ void Contrast(const scope int, Quantum*, Quantum*, Quantum*);
38+ void HSLTransform(const scope double, const scope double, const scope double, Quantum*, Quantum*,
3939 Quantum*);
40- void HWBTransform(in double, in double, in double, Quantum*, Quantum*,
40+ void HWBTransform(const scope double, const scope double, const scope double, Quantum*, Quantum*,
4141 Quantum*);
42- void Hull(in c_long, in c_long, in c_ulong, in c_ulong, Quantum*,
43- Quantum*, in int);
42+ void Hull(const scope c_long, const scope c_long, const scope c_ulong, const scope c_ulong, Quantum*,
43+ Quantum*, const scope int);
4444 void IdentityAffine(AffineMatrix*);
45- void InterpolateViewColor(in ViewInfo* view, PixelPacket* color,
46- in double x_offset, in double y_offset, ExceptionInfo* exception);
47- void Modulate(in double, in double, in double, Quantum*, Quantum*,
45+ void InterpolateViewColor(const scope ViewInfo* view, PixelPacket* color,
46+ const scope double x_offset, const scope double y_offset, ExceptionInfo* exception);
47+ void Modulate(const scope double, const scope double, const scope double, Quantum*, Quantum*,
4848 Quantum*);
49- void TransformHSL(in Quantum, in Quantum, in Quantum, double*, double*,
49+ void TransformHSL(const scope Quantum, const scope Quantum, const scope Quantum, double*, double*,
5050 double*);
51- void TransformHWB(in Quantum, in Quantum, in Quantum, double*, double*,
51+ void TransformHWB(const scope Quantum, const scope Quantum, const scope Quantum, double*, double*,
5252 double*);
5353 } // version (GMagick_Static)
5454 else
5555 {
5656 @system @nogc nothrow extern (C)
5757 {
58- alias mExpandAffine = double function(in AffineMatrix*);
59- alias mGenerateDifferentialNoise = double function(in Quantum, in NoiseType, uint*);
58+ alias mExpandAffine = double function(const scope AffineMatrix*);
59+ alias mGenerateDifferentialNoise = double function(const scope Quantum, const scope NoiseType, uint*);
6060
61- alias mGetOptimalKernelWidth = int function(in double, in double);
62- alias mGetOptimalKernelWidth1D = int function(in double, in double);
63- alias mGetOptimalKernelWidth2D = int function(in double, in double);
61+ alias mGetOptimalKernelWidth = int function(const scope double, const scope double);
62+ alias mGetOptimalKernelWidth1D = int function(const scope double, const scope double);
63+ alias mGetOptimalKernelWidth2D = int function(const scope double, const scope double);
6464
65- alias mInterpolateColor = PixelPacket function(in Image*, in double, in double,
65+ alias mInterpolateColor = PixelPacket function(const scope Image*, const scope double, const scope double,
6666 ExceptionInfo*);
6767
68- alias mGenerateNoise = Quantum function(in Quantum, in NoiseType);
68+ alias mGenerateNoise = Quantum function(const scope Quantum, const scope NoiseType);
6969
70- alias mContrast = void function(in int, Quantum*, Quantum*, Quantum*);
71- alias mHSLTransform = void function(in double, in double, in double, Quantum*, Quantum*,
70+ alias mContrast = void function(const scope int, Quantum*, Quantum*, Quantum*);
71+ alias mHSLTransform = void function(const scope double, const scope double, const scope double, Quantum*, Quantum*,
7272 Quantum*);
73- alias mHWBTransform = void function(in double, in double, in double, Quantum*, Quantum*,
73+ alias mHWBTransform = void function(const scope double, const scope double, const scope double, Quantum*, Quantum*,
7474 Quantum*);
75- alias mHull = void function(in c_long, in c_long, in c_ulong, in c_ulong, Quantum*,
76- Quantum*, in int);
75+ alias mHull = void function(const scope c_long, const scope c_long, const scope c_ulong, const scope c_ulong, Quantum*,
76+ Quantum*, const scope int);
7777 alias mIdentityAffine = void function(AffineMatrix*);
78- alias mInterpolateViewColor = void function(in ViewInfo*, PixelPacket*, in double,
79- in double, ExceptionInfo*);
80- alias mModulate = void function(in double, in double, in double, Quantum*, Quantum*,
78+ alias mInterpolateViewColor = void function(const scope ViewInfo*, PixelPacket*, const scope double,
79+ const scope double, ExceptionInfo*);
80+ alias mModulate = void function(const scope double, const scope double, const scope double, Quantum*, Quantum*,
8181 Quantum*);
82- alias mTransformHSL = void function(in Quantum, in Quantum, in Quantum, double*, double*,
82+ alias mTransformHSL = void function(const scope Quantum, const scope Quantum, const scope Quantum, double*, double*,
8383 double*);
84- alias mTransformHWB = void function(in Quantum, in Quantum, in Quantum, double*, double*,
84+ alias mTransformHWB = void function(const scope Quantum, const scope Quantum, const scope Quantum, double*, double*,
8585 double*);
8686 }
8787