Files
Giacomo Vercesi d62b7b6b1a TTG: inline root type in schema
Move the root type inside the schema definition, as it is a property of
it and not of the generator.
2025-06-25 15:40:13 +02:00

33 lines
692 B
YAML

#
# This file is distributed under the MIT License. See LICENSE.md for details.
#
version: 1
root_type: TestClass
definitions:
- fields:
- name: RequiredField
type: uint64_t
- name: OptionalField
optional: true
type: uint64_t
- name: EnumField
type: TestEnum
- name: SequenceField
sequence:
elementType: uint64_t
type: SortedVector
- name: ReferenceField
reference:
pointeeType: uint64_t
rootType: TestClass
key:
- RequiredField
name: TestClass
type: struct
- members:
- name: MemberOne
- name: MemberTwo
name: TestEnum
type: enum