From a191e1287f9991493e0ba971144933c868ab7c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 29 Apr 2013 16:59:31 +0200 Subject: [PATCH] Added some more Doxygen workarounds. Forgotten in 3f891cfa7c0471961f9821a9cf7389acc3c98e40. --- src/BufferImage.cpp | 2 ++ src/Image.cpp | 2 ++ src/Query.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/BufferImage.cpp b/src/BufferImage.cpp index b29c10e43..63ec57b3d 100644 --- a/src/BufferImage.cpp +++ b/src/BufferImage.cpp @@ -34,9 +34,11 @@ template void BufferImage::setData(const typ _buffer.setData(pixelSize(format, type)*size.product(), data, usage); } +#ifndef DOXYGEN_GENERATING_OUTPUT template class MAGNUM_EXPORT BufferImage<1>; template class MAGNUM_EXPORT BufferImage<2>; template class MAGNUM_EXPORT BufferImage<3>; #endif +#endif } diff --git a/src/Image.cpp b/src/Image.cpp index 92f740b5c..68a85c0e2 100644 --- a/src/Image.cpp +++ b/src/Image.cpp @@ -34,8 +34,10 @@ template void Image::setData(const typename _data = reinterpret_cast(data); } +#ifndef DOXYGEN_GENERATING_OUTPUT template class MAGNUM_EXPORT Image<1>; template class MAGNUM_EXPORT Image<2>; template class MAGNUM_EXPORT Image<3>; +#endif } diff --git a/src/Query.cpp b/src/Query.cpp index c53d02fc9..1254abd80 100644 --- a/src/Query.cpp +++ b/src/Query.cpp @@ -51,6 +51,7 @@ bool AbstractQuery::resultAvailable() { #endif } +#ifndef DOXYGEN_GENERATING_OUTPUT template<> bool AbstractQuery::result() { /** @todo Re-enable when extension wrangler is available for ES */ #ifndef MAGNUM_TARGET_GLES2 @@ -92,6 +93,7 @@ template<> Long AbstractQuery::result() { return result; } #endif +#endif #ifndef MAGNUM_TARGET_GLES2 Query::Query(): target(nullptr) {}