上記のコミットを見ていく中で以下のコードを見つけた。
+void Magick::Image::cdl(const std::string &cdl_)
+{
+ modifyImage();
+ GetPPException;
+ (void) ColorDecisionListImage(image(),cdl_.c_str(),exceptionInfo);
+ ThrowImageException;
+}
+
GetPPException; と ThrowImageException; が気になった。
http://code.metager.de/source/xref/ImageMagick/Magick%2B%2B/lib/Functions.cpp
にそれぞれdefineされていた、と思ったけど、ThrowImageExceptionの定義は別のとこらしい。
19 #define GetPPException \
20 ExceptionInfo \
21 exceptionInfo; \
22 GetExceptionInfo(&exceptionInfo)
23 #define ThrowPPException \
24 throwException(exceptionInfo); \
25 (void) DestroyExceptionInfo(&exceptionInfo)