From: san Date: Thu, 27 Dec 2012 06:43:05 +0000 (+0400) Subject: 0023673: Static method Image_PixMap::SizePixelBytes is not exported X-Git-Tag: V6_6_0_beta~132 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=a940de41953654be89555bdd2096f91f465aa6b6;p=occt-copy.git 0023673: Static method Image_PixMap::SizePixelBytes is not exported Static method Standard_Size SizePixelBytes (const Image_PixMap::ImgFormat thePixelFormat) exported under Windows to prevent link error in the user code. --- diff --git a/src/Image/Image_PixMap.hxx b/src/Image/Image_PixMap.hxx index 75160484e5..85532bd625 100644 --- a/src/Image/Image_PixMap.hxx +++ b/src/Image/Image_PixMap.hxx @@ -215,7 +215,7 @@ public: // low-level API for batch-processing (pixels reading / comparison / mod } //! @return bytes reserved for one pixel (may include extra bytes for alignment). - static Standard_Size SizePixelBytes (const Image_PixMap::ImgFormat thePixelFormat); + Standard_EXPORT static Standard_Size SizePixelBytes (const Image_PixMap::ImgFormat thePixelFormat); //! @return bytes reserved per row. //! Could be larger than needed to store packed row (extra bytes for alignment etc.).