Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
schema_codegen.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <cstddef>
8#include <string>
9
10namespace pulp::timeline {
11
15
31runtime::Result<std::string, PersistenceError>
32emit_schema_manifest(const SchemaRegistry& registry, std::size_t maximum_bytes = 8ull * 1024ull *
33 1024ull);
34
36inline constexpr std::uint32_t schema_manifest_version = 1;
37
39
40} // namespace pulp::timeline
Immutable, shareable registry of Timeline schema contracts.
Definition schema_registry.hpp:189
runtime::Result< std::string, PersistenceError > emit_schema_manifest(const SchemaRegistry &registry, std::size_t maximum_bytes=8ull *1024ull *1024ull)
Emits a deterministic JSON-Schema projection of a SchemaRegistry.
constexpr std::uint32_t schema_manifest_version
Manifest-shape version consumed by Timeline surface generators.
Definition schema_codegen.hpp:36
Definition program_compiler.hpp:18
Result<T, E> — success / failure union for fallible operations.