1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Docs: Replace doxygen preprocessor conditionals with @cond and @endconds

This commit is contained in:
Anthony Nicholls 2025-07-18 09:59:35 +01:00 committed by Sudara
parent 26e8d81380
commit 36d07a6ce3
136 changed files with 420 additions and 449 deletions

View file

@ -118,16 +118,18 @@ namespace juce
struct OpenGLExtensionFunctions
{
//==============================================================================
#ifndef DOXYGEN
/** @cond */
[[deprecated ("A more complete set of GL commands can be found in the juce::gl namespace. "
"You should use juce::gl::loadFunctions() to load GL functions.")]]
static void initialise();
#endif
/** @endcond */
#if JUCE_WINDOWS && ! defined (DOXYGEN)
#if JUCE_WINDOWS
/** @cond */
typedef char GLchar;
typedef pointer_sized_int GLsizeiptr;
typedef pointer_sized_int GLintptr;
/** @endcond */
#endif
#define X(name) static decltype (::juce::gl::name)& name;

View file

@ -346,10 +346,10 @@ public:
size_t getImageCacheSize() const noexcept;
//==============================================================================
#ifndef DOXYGEN
/** @cond */
class NativeContext;
class NativeContextListener;
#endif
/** @endcond */
private:
enum class InitResult
@ -401,9 +401,9 @@ private:
};
//==============================================================================
#ifndef DOXYGEN
/** @cond */
template <typename FunctionType>
void OpenGLContext::executeOnGLThread (FunctionType&& f, bool shouldBlock) { execute (new AsyncWorkerFunctor<FunctionType> (f), shouldBlock); }
#endif
/** @endcond */
} // namespace juce