Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
collections.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2020-2021 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
12
13#ifndef __SCHEMAS_PLUGINS_PLUGIN_COLLECTIONS_H__
14#define __SCHEMAS_PLUGINS_PLUGIN_COLLECTIONS_H__
15
17#include "utils/yaml.h"
18
19typedef struct PluginCollections_v1
20{
21 int schema_version;
22 PluginCollection_v1 * collections[90000];
23 int num_collections;
25
26static const cyaml_schema_field_t plugin_collections_fields_schema_v1[] = {
27 YAML_FIELD_INT (PluginCollections_v1, schema_version),
28 YAML_FIELD_FIXED_SIZE_PTR_ARRAY_VAR_COUNT (
29 PluginCollections_v1,
30 collections,
31 plugin_collection_schema_v1),
32
33 CYAML_FIELD_END
34};
35
36static const cyaml_schema_value_t plugin_collections_schema_v1 = {
37 YAML_VALUE_PTR (PluginCollections_v1, plugin_collections_fields_schema_v1),
38};
39
40#endif
Plugin collection schema.
YAML utils.