Browse Source

Fix some Doxygen issues

pull/22/head
Tom Poole reuk 3 years ago
parent
commit
784f82ffec
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
5 changed files with 21 additions and 7 deletions
  1. +7
    -3
      modules/juce_audio_processors/format_types/LV2_SDK/generate_lv2_bundle_sources.py
  2. +4
    -4
      modules/juce_audio_processors/format_types/juce_AU_Shared.h
  3. +4
    -0
      modules/juce_audio_processors/format_types/juce_LV2Common.h
  4. +4
    -0
      modules/juce_audio_processors/format_types/juce_LV2Resources.h
  5. +2
    -0
      modules/juce_core/containers/juce_Optional.h

+ 7
- 3
modules/juce_audio_processors/format_types/LV2_SDK/generate_lv2_bundle_sources.py View File

@@ -52,7 +52,7 @@ FUNCTION_TEMPLATE = """/*
============================================================================== ==============================================================================


This file is part of the JUCE library. This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
Copyright (c) 2022 - Raw Material Software Limited


JUCE is an open source library subject to commercial or open-source JUCE is an open source library subject to commercial or open-source
licensing. licensing.
@@ -79,6 +79,8 @@ FUNCTION_TEMPLATE = """/*


#pragma once #pragma once


#ifndef DOXYGEN

#include <vector> #include <vector>


namespace juce namespace juce
@@ -109,7 +111,8 @@ std::vector<juce::lv2::Bundle> juce::lv2::Bundle::getAllBundles()
{} {}
}}; }};
}} }}
"""

#endif"""




def chunks(lst, n): def chunks(lst, n):
@@ -149,5 +152,6 @@ args = parser.parse_args()


print(FUNCTION_TEMPLATE.format(", ".join(generate_bundle_source(root, files) print(FUNCTION_TEMPLATE.format(", ".join(generate_bundle_source(root, files)
for root, files in filter_ttl_files(args.lv2_dir) for root, files in filter_ttl_files(args.lv2_dir)
if len(files) != 0)),
if len(files) != 0))
.replace("\t", " "),
end = "\r\n") end = "\r\n")

+ 4
- 4
modules/juce_audio_processors/format_types/juce_AU_Shared.h View File

@@ -23,6 +23,8 @@
============================================================================== ==============================================================================
*/ */
#ifndef DOXYGEN
// This macro can be set if you need to override this internal name for some reason.. // This macro can be set if you need to override this internal name for some reason..
#ifndef JUCE_STATE_DICTIONARY_KEY #ifndef JUCE_STATE_DICTIONARY_KEY
#define JUCE_STATE_DICTIONARY_KEY "jucePluginState" #define JUCE_STATE_DICTIONARY_KEY "jucePluginState"
@@ -31,8 +33,6 @@
namespace juce namespace juce
{ {
#ifndef DOXYGEN
struct AudioUnitHelpers struct AudioUnitHelpers
{ {
class ChannelRemapper class ChannelRemapper
@@ -560,6 +560,6 @@ struct AudioUnitHelpers
} }
}; };
#endif
} // namespace juce } // namespace juce
#endif

+ 4
- 0
modules/juce_audio_processors/format_types/juce_LV2Common.h View File

@@ -25,6 +25,8 @@
#pragma once #pragma once
#ifndef DOXYGEN
#include "juce_lv2_config.h" #include "juce_lv2_config.h"
#ifdef Bool #ifdef Bool
@@ -615,3 +617,5 @@ static inline std::vector<ParsedGroup> findStableBusOrder (const String& mainGro
} }
} }
#endif

+ 4
- 0
modules/juce_audio_processors/format_types/juce_LV2Resources.h View File

@@ -29,6 +29,8 @@
#pragma once #pragma once
#ifndef DOXYGEN
#include <vector> #include <vector>
namespace juce namespace juce
@@ -10229,3 +10231,5 @@ to an instance of LV2_Extension_Data_Feature.
}; };
} }
#endif

+ 2
- 0
modules/juce_core/containers/juce_Optional.h View File

@@ -66,6 +66,8 @@ JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4702)
used internally in JUCE code, with an API close-enough to std::optional used internally in JUCE code, with an API close-enough to std::optional
that the types can be swapped with fairly minor disruption at some point in that the types can be swapped with fairly minor disruption at some point in
the future, but *without breaking any public APIs*. the future, but *without breaking any public APIs*.
@tags{Core}
*/ */
template <typename Value> template <typename Value>
class Optional class Optional


Loading…
Cancel
Save