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

Log Message

[graphicsmagick] quantize in -> const scope

Cambiar Resumen

Diferencia incremental

--- a/graphicsmagick_c/src/graphicsmagick_c/magick/quantize.d
+++ b/graphicsmagick_c/src/graphicsmagick_c/magick/quantize.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 Methods to Reduce the Number of Unique Colors in an Image.
1111 */
1212 // Complete graphicsmagick_c wrapper for version 1.3.
@@ -47,17 +47,17 @@ version (GMagick_Static)
4747 {
4848 @system @nogc nothrow extern(C):
4949
50- QuantizeInfo* CloneQuantizeInfo(in QuantizeInfo*);
50+ QuantizeInfo* CloneQuantizeInfo(const scope QuantizeInfo*);
5151
5252 uint GetImageQuantizeError(Image*);
53- uint MapImage(Image*, in Image*, in uint);
54- uint MapImages(Image*, in Image*, in uint);
53+ uint MapImage(Image*, const scope Image*, const scope uint);
54+ uint MapImages(Image*, const scope Image*, const scope uint);
5555 uint OrderedDitherImage(Image*);
56- uint QuantizeImage(in QuantizeInfo*, Image*);
57- uint QuantizeImages(in QuantizeInfo*, Image*);
58- uint SegmentImage(Image*, in ColorspaceType, in uint, in double,
59- in double);
60-
56+ uint QuantizeImage(const scope QuantizeInfo*, Image*);
57+ uint QuantizeImages(const scope QuantizeInfo*, Image*);
58+ uint SegmentImage(Image*, const scope ColorspaceType, const scope uint, const scope double,
59+ const scope double);
60+
6161 void CompressImageColormap(Image*);
6262 void DestroyQuantizeInfo(QuantizeInfo*);
6363 void GetQuantizeInfo(QuantizeInfo*);
@@ -67,17 +67,17 @@ else
6767 {
6868 @system @nogc nothrow extern (C)
6969 {
70- alias mCloneQuantizeInfo = QuantizeInfo* function(in QuantizeInfo*);
70+ alias mCloneQuantizeInfo = QuantizeInfo* function(const scope QuantizeInfo*);
7171
7272 alias mGetImageQuantizeError = uint function(Image*);
73- alias mMapImage = uint function(Image*, in Image*, in uint);
74- alias mMapImages = uint function(Image*, in Image*, in uint);
73+ alias mMapImage = uint function(Image*, const scope Image*, const scope uint);
74+ alias mMapImages = uint function(Image*, const scope Image*, const scope uint);
7575 alias mOrderedDitherImage = uint function(Image*);
76- alias mQuantizeImage = uint function(in QuantizeInfo*, Image*);
77- alias mQuantizeImages = uint function(in QuantizeInfo*, Image*);
78- alias mSegmentImage = uint function(Image*, in ColorspaceType, in uint, in double,
79- in double);
80-
76+ alias mQuantizeImage = uint function(const scope QuantizeInfo*, Image*);
77+ alias mQuantizeImages = uint function(const scope QuantizeInfo*, Image*);
78+ alias mSegmentImage = uint function(Image*, const scope ColorspaceType, const scope uint, const scope double,
79+ const scope double);
80+
8181 alias mCompressImageColormap = void function(Image*);
8282 alias mDestroyQuantizeInfo = void function(QuantizeInfo*);
8383 alias mGetQuantizeInfo = void function(QuantizeInfo*);