Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
region_link_group_manager.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2020-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __SCHEMAS_AUDIO_REGION_LINK_GROUP_MANAGER_H__
11#define __SCHEMAS_AUDIO_REGION_LINK_GROUP_MANAGER_H__
12
14#include "utils/yaml.h"
15
17{
18 int schema_version;
19 RegionLinkGroup_v1 ** groups;
20 int num_groups;
21 size_t groups_size;
23
24static const cyaml_schema_field_t region_link_group_manager_fields_schema_v1[] = {
25 YAML_FIELD_INT (RegionLinkGroupManager_v1, schema_version),
26 YAML_FIELD_DYN_PTR_ARRAY_VAR_COUNT_OPT (
28 groups,
29 region_link_group_schema_default_v1),
30
31 CYAML_FIELD_END
32};
33
34static const cyaml_schema_value_t region_link_group_manager_schema_v1 = {
35 YAML_VALUE_PTR (
37 region_link_group_manager_fields_schema_v1),
38};
39
40#endif
YAML utils.