Audacity 3.2.0
macos/SchemeRegistrar.cpp
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 SchemeRegistrar.cpp
7
8 Dmitry Vedenko
9
10**********************************************************************/
11
12#include <string_view>
13#include <functional>
14
15void SetSchemaRegistrar(std::function<bool(std::string_view)> registrar);
16
17auto registrar = ([]() {
18 SetSchemaRegistrar([](std::string_view) { return true; });
19 return true;
20})();
auto registrar
void SetSchemaRegistrar(std::function< bool(std::string_view)> registrar)