• R/O
  • HTTP
  • SSH
  • HTTPS

提交

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

修訂cc823cdf2b3db623c6059b9a2802752b55633f99 (tree)
時間2023-07-17 19:36:09
作者Mio <stigma@disr...>
CommiterMio

Log Message

[graphicsmagick] remove deprecation message

Somewhere along the line, GDC decided to turn warnings in to errors by
default (or just started actually reporting deprecated messages) and
compilation fails.

That was not the intention when initially adding the 'deprecated'
attribute here.

(The issue still persists with all the old magickd.{wand/core} modules,

but they'll be removed soon anyway.)

Change Summary

差異

--- a/graphicsmagick_c/src/graphicsmagick_c/magick/deprecate.d
+++ b/graphicsmagick_c/src/graphicsmagick_c/magick/deprecate.d
@@ -22,7 +22,6 @@ import graphicsmagick_c.magick.image : Image, PixelPacket;
2222 version(GMagick_Static)
2323 {
2424 @system @nogc nothrow extern(C):
25- deprecated:
2625
2726 uint PopImagePixels(const scope Image*, const scope QuantumType, ubyte*);
2827 uint PushImagePixels(Image*, const scope QuantumType, const scope ubyte*);
@@ -42,7 +41,7 @@ version(GMagick_Static)
4241 }
4342 else
4443 {
45- @system @nogc nothrow extern(C) deprecated
44+ @system @nogc nothrow extern(C)
4645 {
4746 alias mPopImagePixels = uint function(const scope Image*, const scope QuantumType, ubyte*);
4847 alias mPushImagePixels = uint function(Image*, const scope QuantumType, const scope ubyte*);