ext/RMagick/rmkinfo.c in rmagick-3.2.0 vs ext/RMagick/rmkinfo.c in rmagick-4.0.0

- old
+ new

@@ -66,31 +66,11 @@ DATA_PTR(self) = kernel; return self; } -/** - * Zero kerne NaNs. - * - * Ruby usage: - * - @verbatim KernelInfo#zero_nans @endverbatim - * - * @param self this object - * @deprecated This method has been deprecated. - */ -/* ZeroKernelNans() is private function in ImageMagick. */ -MagickExport void ZeroKernelNans(KernelInfo *kernel); - -VALUE -KernelInfo_zero_nans(VALUE self) -{ - rb_warning("KernelInfo#zero_nans is deprecated"); - ZeroKernelNans((KernelInfo*)DATA_PTR(self)); - return Qnil; -} - /** * Adds a given amount of the 'Unity' Convolution Kernel to the given pre-scaled and normalized Kernel. * * Ruby usage: * - @verbatim KernelInfo#unity_add(scale) @endverbatim @@ -110,25 +90,9 @@ UnityAddKernelInfo((KernelInfo*)DATA_PTR(self), NUM2DBL(scale)); return Qnil; } -/** - * Dumps KernelInfo object to stderr - * - * Ruby usage: - * - @verbatim KernelInfo#show @endverbatim - * - * @param self this object - * @deprecated This method has been deprecated. - */ -VALUE -KernelInfo_show(VALUE self) -{ - rb_warning("KernelInfo#show is deprecated"); - ShowKernelInfo((KernelInfo*)DATA_PTR(self)); - return Qnil; -} /** * Scales the given kernel list by the given amount, with or without normalization * of the sum of the kernel values (as per given flags). *