D bindings to the GraphicsMagick library.
Revisión | cc823cdf2b3db623c6059b9a2802752b55633f99 (tree) |
---|---|
Tiempo | 2023-07-17 19:36:09 |
Autor | Mio <stigma@disr...> |
Commiter | Mio |
[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,
@@ -22,7 +22,6 @@ import graphicsmagick_c.magick.image : Image, PixelPacket; | ||
22 | 22 | version(GMagick_Static) |
23 | 23 | { |
24 | 24 | @system @nogc nothrow extern(C): |
25 | - deprecated: | |
26 | 25 | |
27 | 26 | uint PopImagePixels(const scope Image*, const scope QuantumType, ubyte*); |
28 | 27 | uint PushImagePixels(Image*, const scope QuantumType, const scope ubyte*); |
@@ -42,7 +41,7 @@ version(GMagick_Static) | ||
42 | 41 | } |
43 | 42 | else |
44 | 43 | { |
45 | - @system @nogc nothrow extern(C) deprecated | |
44 | + @system @nogc nothrow extern(C) | |
46 | 45 | { |
47 | 46 | alias mPopImagePixels = uint function(const scope Image*, const scope QuantumType, ubyte*); |
48 | 47 | alias mPushImagePixels = uint function(Image*, const scope QuantumType, const scope ubyte*); |